We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fbf6a5 commit 60e190cCopy full SHA for 60e190c
src/qt/bitcoin.cpp
@@ -218,6 +218,8 @@ BitcoinApplication::~BitcoinApplication()
218
#ifdef ENABLE_WALLET
219
delete paymentServer;
220
paymentServer = nullptr;
221
+ delete m_wallet_controller;
222
+ m_wallet_controller = nullptr;
223
#endif
224
delete optionsModel;
225
optionsModel = nullptr;
@@ -310,10 +312,6 @@ void BitcoinApplication::requestShutdown()
310
312
window->setClientModel(nullptr);
311
313
pollShutdownTimer->stop();
314
-#ifdef ENABLE_WALLET
- delete m_wallet_controller;
315
- m_wallet_controller = nullptr;
316
-#endif
317
delete clientModel;
318
clientModel = nullptr;
319
0 commit comments