fix: cancel mailserver requests on shutdown
This commit is contained in:
parent
f899b09082
commit
8d75e7dced
|
@ -157,7 +157,10 @@ QtObject:
|
||||||
let receivedData = MailserverChangedSignal(e)
|
let receivedData = MailserverChangedSignal(e)
|
||||||
let address = receivedData.address
|
let address = receivedData.address
|
||||||
|
|
||||||
info "active mailserver changed", node=address
|
if address == "":
|
||||||
|
info "removing active mailserver"
|
||||||
|
else:
|
||||||
|
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)
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit b1960a6ca9d2e1f4f185dc1ffd1c5ac774111a8d
|
Subproject commit 1a15533f62294a69685373305ac2aabf5b489ecb
|
Loading…
Reference in New Issue