mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
fix(bitswap:notifications) shutdown on bs.Halt()
This commit is contained in:
@ -180,6 +180,7 @@ func (bs *BitSwap) handleMessages() {
|
||||
}
|
||||
}
|
||||
case <-bs.haltChan:
|
||||
bs.notifications.Shutdown()
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user