Browse Source

Switch to QThread::sleep

pull/45/head
Aditya Kulkarni 5 years ago
parent
commit
f23cf1d0e0
  1. 6
      src/rpc.cpp

6
src/rpc.cpp

@ -1135,10 +1135,8 @@ void RPC::shutdownZcashd() {
} else {
while (waiter.isActive()) {
QCoreApplication::processEvents();
#ifdef _WIN32
#else
std::this_thread::sleep_for(std::chrono::seconds(1));
#endif
QThread::sleep(1);
}
}
}

Loading…
Cancel
Save