fix: cancel mailserver requests on shutdown

This commit is contained in:
Richard Ramos 2023-01-24 12:32:24 -04:00 committed by Jonathan Rainville
parent f899b09082
commit 8d75e7dced
2 changed files with 5 additions and 2 deletions

View File

@ -157,6 +157,9 @@ QtObject:
let receivedData = MailserverChangedSignal(e) let receivedData = MailserverChangedSignal(e)
let address = receivedData.address let address = receivedData.address
if address == "":
info "removing active mailserver"
else:
info "active mailserver changed", node=address info "active mailserver changed", node=address
let data = ActiveMailserverChangedArgs(nodeAddress: address) let data = ActiveMailserverChangedArgs(nodeAddress: address)
self.events.emit(SIGNAL_ACTIVE_MAILSERVER_CHANGED, data) self.events.emit(SIGNAL_ACTIVE_MAILSERVER_CHANGED, data)

2
vendor/status-go vendored

@ -1 +1 @@
Subproject commit b1960a6ca9d2e1f4f185dc1ffd1c5ac774111a8d Subproject commit 1a15533f62294a69685373305ac2aabf5b489ecb