TorInfo: disconnect torManager on destruct

This commit is contained in:
tobtoht 2023-02-12 00:46:59 +01:00
parent 6ee4553ae0
commit 7c704560b2
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -51,4 +51,6 @@ void TorInfoDialog::onStatusChanged(const QString &msg) {
}
}
TorInfoDialog::~TorInfoDialog() = default;
TorInfoDialog::~TorInfoDialog() {
disconnect(torManager(), nullptr, this, nullptr);
}