mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-30 11:03:31 +00:00
VideoCommon: clear all compiler work when resource manager shuts down
This commit is contained in:
parent
4b086b1256
commit
f846fc0d02
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user