mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 01:08:50 -04:00
Added unregisterEventsHandler to destructor of TorControlDialog
This commit is contained in:
parent
efe2ec03ff
commit
e096f2feb1
2 changed files with 6 additions and 0 deletions
|
@ -51,6 +51,11 @@ TorControlDialog::TorControlDialog(QWidget *)
|
|||
adjustSize();
|
||||
}
|
||||
|
||||
TorControlDialog::~TorControlDialog()
|
||||
{
|
||||
rsEvents->unregisterEventsHandler(mEventHandlerId);
|
||||
}
|
||||
|
||||
void TorControlDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> event)
|
||||
{
|
||||
if(event->mType != RsEventType::TOR_MANAGER) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue