Revert "*Always* send a shutdown signal to enable custom shutdown actions"

This reverts commit 896899e0d6.
This commit is contained in:
Matt Corallo
2012-06-28 15:52:45 +02:00
parent e75acc006e
commit 18c4beb05b
2 changed files with 7 additions and 7 deletions

View File

@@ -2905,7 +2905,8 @@ void ThreadRPCServer2(void* parg)
}
vnThreadsRunning[THREAD_RPCLISTENER]--;
io_service.run();
while (!fShutdown)
io_service.run_one();
vnThreadsRunning[THREAD_RPCLISTENER]++;
}