Fix issue where timethread wakes too slowly
Former-commit-id: 60f875f5eb7cb541e537f0f440ce8d5aeac57862
This commit is contained in:
parent
ace6ad4752
commit
352bde8d89
@ -6091,6 +6091,7 @@ void OnTerminate()
|
||||
}
|
||||
|
||||
void wakeTimeThread() {
|
||||
updateCachedTime();
|
||||
std::lock_guard<std::mutex> lock(time_thread_mutex);
|
||||
sleeping_threads--;
|
||||
serverAssert(sleeping_threads >= 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user