diff options
| author | 2021-02-14 00:20:41 -0800 | |
|---|---|---|
| committer | 2021-02-14 00:20:41 -0800 | |
| commit | eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d (patch) | |
| tree | 3f5cfe0d7067853437249cd167e79d9299c984b1 /src/video_core | |
| parent | Merge pull request #5925 from ReinUsesLisp/resource-pool-clean (diff) | |
| download | yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.gz yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.tar.xz yuzu-eae9f2e4404f6bdf8a192bc9c09e53cd87e4359d.zip | |
yuzu: Various frontend improvements to avoid crashes and improve experience on Linux.
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 | } |