net: Minor accumulated cleanups

This commit is contained in:
Thomas Snider
2018-01-26 02:48:56 -08:00
parent 07825088f9
commit 2c084a6609
6 changed files with 36 additions and 68 deletions

View File

@@ -42,12 +42,9 @@
void WaitForShutdown()
{
bool fShutdown = ShutdownRequested();
// Tell the main threads to shutdown.
while (!fShutdown)
while (!ShutdownRequested())
{
MilliSleep(200);
fShutdown = ShutdownRequested();
}
Interrupt();
}