Dont handle notifs during shutdown
This commit is contained in:
parent
c83a2a0085
commit
5c41761f1e
@ -298,6 +298,7 @@ func connectNotifier(dcrdWithNotifs rpc.DcrdConnect) error {
|
||||
// notifier is closed.
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
dcrdWithNotifs.Close()
|
||||
return nil
|
||||
case <-notifierClosed:
|
||||
log.Warnf("dcrd notifier closed")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user