mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-18 08:44:34 +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_updateBytes.stop();
|
||||||
m_txTimer.stop();
|
m_txTimer.stop();
|
||||||
|
m_ctx->stopTimers();
|
||||||
|
|
||||||
|
// Wallet signal may fire after AppContext is gone, causing segv
|
||||||
|
m_ctx->wallet->disconnect();
|
||||||
|
|
||||||
this->saveGeo();
|
this->saveGeo();
|
||||||
m_windowManager->closeWindow(this);
|
m_windowManager->closeWindow(this);
|
||||||
|
|
Loading…
Reference in a new issue