mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-03 17:39:49 +00:00
Disconnect wallet on close
This commit is contained in:
parent
f818812c12
commit
2525decdbe
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue