Skip to content

Commit

Permalink
Remove panic group
Browse files Browse the repository at this point in the history
  • Loading branch information
cammellos committed Sep 28, 2022
1 parent 489e869 commit 59c1864
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions protocol/messenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ type Messenger struct {
connectionState connection.State
telemetryClient *telemetry.Client
contractMaker *contracts.ContractMaker
downloadHistoryArchiveTasksWaitGroup sync.WaitGroup
verificationDatabase *verification.Persistence

// TODO(samyoul) Determine if/how the remaining usage of this mutex can be removed
Expand Down Expand Up @@ -1514,7 +1513,6 @@ func (m *Messenger) Init() error {
// Shutdown takes care of ensuring a clean shutdown of Messenger
func (m *Messenger) Shutdown() (err error) {
close(m.quit)
m.downloadHistoryArchiveTasksWaitGroup.Wait()
for i, task := range m.shutdownTasks {
m.logger.Debug("running shutdown task", zap.Int("n", i))
if tErr := task(); tErr != nil {
Expand Down

0 comments on commit 59c1864

Please sign in to comment.