Estetics
@ -78,8 +78,10 @@ void Shutdown(void* parg)
StopNode();
{
LOCK(cs_main);
pcoinsTip->Flush();
pblocktree->Flush();
if (pcoinsTip)
if (pblocktree)
delete pcoinsTip;
delete pcoinsdbview;
delete pblocktree;