Switch to QThread::sleep

This commit is contained in:
Aditya Kulkarni
2019-03-20 10:18:13 -07:00
parent 4e185834f6
commit f23cf1d0e0

View File

@@ -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);
}
}
}