]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
TorInfo: disconnect torManager on destruct
authortobtoht <tob@featherwallet.org>
Sat, 11 Feb 2023 23:46:59 +0000 (00:46 +0100)
committertobtoht <tob@featherwallet.org>
Sat, 11 Feb 2023 23:46:59 +0000 (00:46 +0100)
src/dialog/TorInfoDialog.cpp

index b1f88232db9d71c74cca8fe28ba0780565cefa53..569bb7835ad070967a47c9352e8b27d2b74ad488 100644 (file)
@@ -51,4 +51,6 @@ void TorInfoDialog::onStatusChanged(const QString &msg) {
     }
 }
 
-TorInfoDialog::~TorInfoDialog() = default;
\ No newline at end of file
+TorInfoDialog::~TorInfoDialog() {
+    disconnect(torManager(), nullptr, this, nullptr);
+}
\ No newline at end of file