diff --git a/src/core/core.cpp b/src/core/core.cpp index d697b80ef..10ed5219b 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -259,7 +259,9 @@ struct System::Impl { is_powered_on = false; exit_lock = false; - gpu_core->WaitIdle(); + if (gpu_core) { + gpu_core->WaitIdle(); + } // Shutdown emulation session renderer.reset();