mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-30 18:35:54 +02:00
net: Minor accumulated cleanups
This commit is contained in:
@@ -42,12 +42,9 @@
|
||||
|
||||
void WaitForShutdown()
|
||||
{
|
||||
bool fShutdown = ShutdownRequested();
|
||||
// Tell the main threads to shutdown.
|
||||
while (!fShutdown)
|
||||
while (!ShutdownRequested())
|
||||
{
|
||||
MilliSleep(200);
|
||||
fShutdown = ShutdownRequested();
|
||||
}
|
||||
Interrupt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user