mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-10 09:53:06 +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