Browse Source

net: Remove MilliSleep from StopNode

I don't understand why it would be there in the first place. This looks
like voodoo, not programming.
0.10
Wladimir J. van der Laan 10 years ago
parent
commit
bbda40226b
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 1
      src/net.cpp

1
src/net.cpp

@ -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;

Loading…
Cancel
Save