diff options
Diffstat (limited to 'src/video_core')
| -rw-r--r-- | src/video_core/shader/async_shaders.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/shader/async_shaders.cpp b/src/video_core/shader/async_shaders.cpp index 3b40db9bc..02adcf9c7 100644 --- a/src/video_core/shader/async_shaders.cpp +++ b/src/video_core/shader/async_shaders.cpp | |||
| @@ -64,6 +64,7 @@ void AsyncShaders::FreeWorkers() { | |||
| 64 | 64 | ||
| 65 | void AsyncShaders::KillWorkers() { | 65 | void AsyncShaders::KillWorkers() { |
| 66 | is_thread_exiting.store(true); | 66 | is_thread_exiting.store(true); |
| 67 | cv.notify_all(); | ||
| 67 | for (auto& thread : worker_threads) { | 68 | for (auto& thread : worker_threads) { |
| 68 | thread.detach(); | 69 | thread.detach(); |
| 69 | } | 70 | } |