Merge pull request #14228 from iwubcode/clear_compiler_work_resource_mgr

VideoCommon: clear all compiler work when resource manager shuts down
This commit is contained in:
iwubcode 2025-12-27 13:09:21 -06:00 committed by GitHub
commit aa1605e95a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();