close zcashd properly at exit

This commit is contained in:
Aditya Kulkarni
2018-11-02 23:15:39 -07:00
parent 46f2f7f02e
commit ce16f53f69
5 changed files with 51 additions and 23 deletions

View File

@@ -89,7 +89,7 @@ void MainWindow::closeEvent(QCloseEvent* event) {
s.setValue("tratablegeometry", ui->transactionsTable->horizontalHeader()->saveState());
// Let the RPC know to shutdown any running service.
rpc->closeEvent();
rpc->shutdownZcashd();
// Bubble up
QMainWindow::closeEvent(event);