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:
@ -180,6 +180,7 @@ func (bs *BitSwap) handleMessages() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
case <-bs.haltChan:
|
case <-bs.haltChan:
|
||||||
|
bs.notifications.Shutdown()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user