mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-26 21:49:26 +00:00
fix: quit channel on store
This commit is contained in:
parent
4041f5a67a
commit
a549337a42
@ -631,7 +631,9 @@ func (store *WakuStore) Stop() {
|
||||
close(store.MsgC)
|
||||
}
|
||||
|
||||
store.quit <- struct{}{}
|
||||
if store.msgProvider != nil {
|
||||
store.quit <- struct{}{}
|
||||
}
|
||||
|
||||
if store.h != nil {
|
||||
store.h.RemoveStreamHandler(StoreID_v20beta4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user