1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

fix(bitswap:notifications) shutdown on bs.Halt()

This commit is contained in:
Brian Tiger Chow
2014-09-11 16:53:04 -07:00
parent b28343cffe
commit d294f7dcb2

View File

@ -180,6 +180,7 @@ func (bs *BitSwap) handleMessages() {
} }
} }
case <-bs.haltChan: case <-bs.haltChan:
bs.notifications.Shutdown()
return return
} }
} }