Browse Source

Rename shutoff process

pull/4/head
jl777 6 years ago
parent
commit
5488101f95
  1. 6
      src/init.cpp

6
src/init.cpp

@ -76,6 +76,7 @@ using namespace std;
extern void ThreadSendAlert();
extern int32_t KOMODO_LOADINGBLOCKS;
extern bool VERUS_MINTBLOCKS;
extern char ASSETCHAINS_SYMBOL[];
ZCJoinSplit* pzcashParams = NULL;
@ -195,7 +196,10 @@ void Shutdown()
/// for example if the data directory was found to be locked.
/// Be sure that anything that writes files or flushes caches only does this if the respective
/// module was initialized.
RenameThread("verus-shutoff");
static char shutoffstr[128];
sprintf(shutoffstr,"%s-shutoff",ASSETCHAINS_SYMBOL);
//RenameThread("verus-shutoff");
RenameThread(shutoffstr);
mempool.AddTransactionsUpdated(1);
StopHTTPRPC();

Loading…
Cancel
Save