|
|
@ -218,6 +218,8 @@ BitcoinApplication::~BitcoinApplication()
|
|
|
|
#ifdef ENABLE_WALLET
|
|
|
|
#ifdef ENABLE_WALLET
|
|
|
|
delete paymentServer;
|
|
|
|
delete paymentServer;
|
|
|
|
paymentServer = nullptr;
|
|
|
|
paymentServer = nullptr;
|
|
|
|
|
|
|
|
delete m_wallet_controller;
|
|
|
|
|
|
|
|
m_wallet_controller = nullptr;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
delete optionsModel;
|
|
|
|
delete optionsModel;
|
|
|
|
optionsModel = nullptr;
|
|
|
|
optionsModel = nullptr;
|
|
|
@ -310,10 +312,6 @@ void BitcoinApplication::requestShutdown()
|
|
|
|
window->setClientModel(nullptr);
|
|
|
|
window->setClientModel(nullptr);
|
|
|
|
pollShutdownTimer->stop();
|
|
|
|
pollShutdownTimer->stop();
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef ENABLE_WALLET
|
|
|
|
|
|
|
|
delete m_wallet_controller;
|
|
|
|
|
|
|
|
m_wallet_controller = nullptr;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
delete clientModel;
|
|
|
|
delete clientModel;
|
|
|
|
clientModel = nullptr;
|
|
|
|
clientModel = nullptr;
|
|
|
|
|
|
|
|
|
|
|
|