1
0
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:
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:
bs.notifications.Shutdown()
return
}
}