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.
|
// notifier is closed.
|
||||||
select {
|
select {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
|
dcrdWithNotifs.Close()
|
||||||
return nil
|
return nil
|
||||||
case <-notifierClosed:
|
case <-notifierClosed:
|
||||||
log.Warnf("dcrd notifier closed")
|
log.Warnf("dcrd notifier closed")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user