From 036e60ce6803a98b7536861949b3fdfef3bf0ee3 Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Thu, 21 Nov 2024 22:12:02 +0100 Subject: [PATCH] stop when freezing --- block/manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/manager.go b/block/manager.go index bddb46edd..07eff4174 100644 --- a/block/manager.go +++ b/block/manager.go @@ -423,8 +423,8 @@ func (m *Manager) freezeNode(err error) { return } uevent.MustPublish(m.Ctx, m.Pubsub, &events.DataHealthStatus{Error: err}, events.HealthStatusList) - // m.P2PClient.Close() - // m.DAClient.Stop() + m.P2PClient.Close() + m.DAClient.Stop() m.Cancel() }