Skip to content

Commit

Permalink
stop when freezing
Browse files Browse the repository at this point in the history
  • Loading branch information
srene committed Nov 21, 2024
1 parent 4680773 commit 036e60c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit 036e60c

Please sign in to comment.