diff options
-rw-r--r-- | qml/main.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qml/main.qml b/qml/main.qml index 94ac72a..cb116b3 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -48,4 +48,9 @@ Kirigami.ApplicationWindow { eventEmitter = accountsModel.getEventEmitter() eventEmitter.start(); } + + onClosing: { + // Cancel all tasks that may block the termination of event loop. + accountsModel.stopIo() + } } |