Close wallet on exit

This commit is contained in:
tobtoht 2020-10-14 20:44:26 +02:00
parent 0289aba113
commit 1dcc69db39

View file

@ -946,6 +946,7 @@ void MainWindow::homeWidgetChanged(const QString &widgetName) {
} }
void MainWindow::closeEvent(QCloseEvent *event) { void MainWindow::closeEvent(QCloseEvent *event) {
m_ctx->walletManager->closeWallet();
m_ctx->tor->stop(); m_ctx->tor->stop();
this->saveGeo(); this->saveGeo();