summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-14 09:20:41 +0100
committerbunnei <bunneidev@gmail.com>2021-02-14 09:20:41 +0100
commiteae9f2e4404f6bdf8a192bc9c09e53cd87e4359d (patch)
tree3f5cfe0d7067853437249cd167e79d9299c984b1 /src/video_core
parentMerge pull request #5925 from ReinUsesLisp/resource-pool-clean (diff)
downloadyuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar
yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.gz
yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.bz2
yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.lz
yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.xz
yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.zst
yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/shader/async_shaders.cpp1
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() {
void AsyncShaders::KillWorkers() {
is_thread_exiting.store(true);
+ cv.notify_all();
for (auto& thread : worker_threads) {
thread.detach();
}