diff options
author | Thomas Snider <tjps636@gmail.com> | 2018-01-26 02:48:56 -0800 |
---|---|---|
committer | Thomas Snider <tjps636@gmail.com> | 2018-04-16 13:24:14 -0700 |
commit | 2c084a6609bed24979c2a144743007f8b10a5c70 (patch) | |
tree | df9527a3ce02aa01c5d55fd6b660ead4698e954b /src/bitcoind.cpp | |
parent | 07825088f9cfd8abece774b9d978c36ab90ce3d1 (diff) |
net: Minor accumulated cleanups
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r-- | src/bitcoind.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 83d9719df2..0dc2dfbf7d 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -42,12 +42,9 @@ void WaitForShutdown() { - bool fShutdown = ShutdownRequested(); - // Tell the main threads to shutdown. - while (!fShutdown) + while (!ShutdownRequested()) { MilliSleep(200); - fShutdown = ShutdownRequested(); } Interrupt(); } |