fix(bitswap:notifications) shutdown on bs.Halt()
Brian Tiger Chow committed
Sep 11, 2014 at 16:53 UTC
d294f7dcb2260c3d90b3bfdc539ea1734ddce83e
1 file changed
+1
bitswap/bitswap.go
+1
@@ -180,6 +180,7 @@ func (bs *BitSwap) handleMessages() {
180
}
181
}
182
case <-bs.haltChan:
183
+ bs.notifications.Shutdown()
184
return
185
}
186
}