mirror of https://github.com/status-im/go-waku.git
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…
Reference in New Issue