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 { } else {
while (waiter.isActive()) { while (waiter.isActive()) {
QCoreApplication::processEvents(); QCoreApplication::processEvents();
#ifdef _WIN32
#else QThread::sleep(1);
std::this_thread::sleep_for(std::chrono::seconds(1));
#endif
} }
} }
} }