Commit d294f7dc authored by Brian Tiger Chow's avatar Brian Tiger Chow

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

parent b28343cf
......@@ -180,6 +180,7 @@ func (bs *BitSwap) handleMessages() {
}
}
case <-bs.haltChan:
bs.notifications.Shutdown()
return
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment