net: Remove MilliSleep from StopNode

I don't understand why it would be there in the first place. This looks
like voodoo, not programming.
This commit is contained in:
Wladimir J. van der Laan 2014-09-03 12:20:47 +02:00
parent b8d92236f6
commit bbda40226b
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -1791,7 +1791,6 @@ bool StopNode()
if (semOutbound) if (semOutbound)
for (int i=0; i<MAX_OUTBOUND_CONNECTIONS; i++) for (int i=0; i<MAX_OUTBOUND_CONNECTIONS; i++)
semOutbound->post(); semOutbound->post();
MilliSleep(50);
DumpAddresses(); DumpAddresses();
return true; return true;