mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-16 09:19:23 +01:00
ShaderCache: Fix crash at shutdown on shared shader compilation fail
This commit is contained in:
parent
5c95dc61fc
commit
9577d0641b
@ -94,7 +94,9 @@ void ShaderCache::Shutdown()
|
|||||||
{
|
{
|
||||||
// This may leave shaders uncommitted to the cache, but it's better than blocking shutdown
|
// This may leave shaders uncommitted to the cache, but it's better than blocking shutdown
|
||||||
// until everything has finished compiling.
|
// until everything has finished compiling.
|
||||||
|
if (m_async_shader_compiler)
|
||||||
m_async_shader_compiler->StopWorkerThreads();
|
m_async_shader_compiler->StopWorkerThreads();
|
||||||
|
|
||||||
ClosePipelineUIDCache();
|
ClosePipelineUIDCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user