Skip to content

Commit

Permalink
darksend: faster thread exit on shutdown
Browse files Browse the repository at this point in the history
Signed-off-by: 216k155 <216k155@luxcore.io>
  • Loading branch information
tpruvot authored and 216k155 committed Aug 6, 2018
1 parent 582de20 commit 4c7f94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darksend.cpp
Expand Up @@ -2098,7 +2098,7 @@ void ThreadCheckDarkSendPool() {
unsigned int c = 0;
std::string errorMessage;

while (true) {
while (!ShutdownRequested()) {
c++;

MilliSleep(2500);
Expand Down

0 comments on commit 4c7f94e

Please sign in to comment.