diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index b0cfee3ee..c60a784c3 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -326,7 +326,9 @@ struct System::Impl { | |||
| 326 | is_powered_on = false; | 326 | is_powered_on = false; |
| 327 | exit_lock = false; | 327 | exit_lock = false; |
| 328 | 328 | ||
| 329 | gpu_core->NotifyShutdown(); | 329 | if (gpu_core != nullptr) { |
| 330 | gpu_core->NotifyShutdown(); | ||
| 331 | } | ||
| 330 | 332 | ||
| 331 | services.reset(); | 333 | services.reset(); |
| 332 | service_manager.reset(); | 334 | service_manager.reset(); |