mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Disconnect wallet on close
This commit is contained in:
@@ -874,6 +874,10 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
||||
|
||||
m_updateBytes.stop();
|
||||
m_txTimer.stop();
|
||||
m_ctx->stopTimers();
|
||||
|
||||
// Wallet signal may fire after AppContext is gone, causing segv
|
||||
m_ctx->wallet->disconnect();
|
||||
|
||||
this->saveGeo();
|
||||
m_windowManager->closeWindow(this);
|
||||
|
||||
Reference in New Issue
Block a user