mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +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
|
||||
// until everything has finished compiling.
|
||||
m_async_shader_compiler->StopWorkerThreads();
|
||||
if (m_async_shader_compiler)
|
||||
m_async_shader_compiler->StopWorkerThreads();
|
||||
|
||||
ClosePipelineUIDCache();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user