Remove duplicate config

This commit is contained in:
David Marcec 2020-07-16 18:51:32 +10:00
parent f48187449e
commit 85b591f6f0
2 changed files with 1 additions and 2 deletions

View file

@ -36,6 +36,7 @@ void AsyncShaders::AllocateWorkers(std::size_t num_workers) {
void AsyncShaders::FreeWorkers() {
// Mark all threads to quit
is_thread_exiting.store(true);
cv.notify_all();
for (auto& thread : worker_threads) {
thread.join();
}