GameInfoCache: Don't expose the workqueue. Was unused anyway.

This commit is contained in:
Henrik Rydgård
2021-06-12 13:03:53 +02:00
parent 73871b9b7e
commit 34f8fc557f
+1
View File
@@ -59,6 +59,7 @@ static void WorkerThreadFunc(GlobalThreadContext *global, ThreadContext *thread)
thread->cond.wait(lock);
}
}
if (!task) {
// Grab one from the global queue if there is any.
std::unique_lock<std::mutex> lock(global->mutex);