TorInfo: disconnect torManager on destruct

This commit is contained in:
tobtoht
2023-02-12 00:46:59 +01:00
parent 6ee4553ae0
commit 7c704560b2
+3 -1
View File
@@ -51,4 +51,6 @@ void TorInfoDialog::onStatusChanged(const QString &msg) {
}
}
TorInfoDialog::~TorInfoDialog() = default;
TorInfoDialog::~TorInfoDialog() {
disconnect(torManager(), nullptr, this, nullptr);
}