diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2025-12-27 13:09:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 13:09:21 -0600 |
| commit | aa1605e95a36e6d8b1a710fcd5f65daad88b884c (patch) | |
| tree | e126cf56da061a467c5517a75aeb2107ec42a3e3 /Source/Core/VideoCommon | |
| parent | 7a0bceecb023ee740fff3079d09f73df679593a9 (diff) | |
| parent | f846fc0d022c6cb00700412d72df9fbd848408e5 (diff) | |
Merge pull request #14228 from iwubcode/clear_compiler_work_resource_mgr
VideoCommon: clear all compiler work when resource manager shuts down
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Resources/CustomResourceManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Resources/CustomResourceManager.cpp b/Source/Core/VideoCommon/Resources/CustomResourceManager.cpp index 56556285d8..ffb16b055a 100644 --- a/Source/Core/VideoCommon/Resources/CustomResourceManager.cpp +++ b/Source/Core/VideoCommon/Resources/CustomResourceManager.cpp @@ -31,7 +31,10 @@ void CustomResourceManager::Initialize() void CustomResourceManager::Shutdown() { if (m_async_shader_compiler) + { m_async_shader_compiler->StopWorkerThreads(); + m_async_shader_compiler->ClearAllWork(); + } m_asset_cache.Shutdown(); m_worker_thread.Shutdown(); |
