|
|
@ -1887,8 +1887,9 @@ bool StopNode()
|
|
|
|
fShutdown = true;
|
|
|
|
fShutdown = true;
|
|
|
|
nTransactionsUpdated++;
|
|
|
|
nTransactionsUpdated++;
|
|
|
|
int64 nStart = GetTime();
|
|
|
|
int64 nStart = GetTime();
|
|
|
|
for (int i=0; i<MAX_OUTBOUND_CONNECTIONS; i++)
|
|
|
|
if (semOutbound)
|
|
|
|
semOutbound->post();
|
|
|
|
for (int i=0; i<MAX_OUTBOUND_CONNECTIONS; i++)
|
|
|
|
|
|
|
|
semOutbound->post();
|
|
|
|
do
|
|
|
|
do
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int nThreadsRunning = 0;
|
|
|
|
int nThreadsRunning = 0;
|
|
|
|