Fix segfault crash when shutdown the GUI in disablewallet mode
Fix segfault crash when shutdown the GUI in disablewallet mode

chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin