diff options
| author | 2021-11-04 20:19:58 -0400 | |
|---|---|---|
| committer | 2021-11-04 20:19:58 -0400 | |
| commit | 0cf78a34ba4014d5893667502f3336e36196754b (patch) | |
| tree | 9f3672a0013940ec5ccb6337a6ca8eee82b3a77d /src | |
| parent | Merge pull request #7282 from ameerj/core-includes (diff) | |
| download | yuzu-0cf78a34ba4014d5893667502f3336e36196754b.tar.gz yuzu-0cf78a34ba4014d5893667502f3336e36196754b.tar.xz yuzu-0cf78a34ba4014d5893667502f3336e36196754b.zip | |
core: Reorder perf_stats destruction order on Shutdown
Avoids the gpu_core using perf_stats after it's been freed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 85485773f..d6cf44ce3 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -324,8 +324,8 @@ struct System::Impl { | |||
| 324 | time_manager.Shutdown(); | 324 | time_manager.Shutdown(); |
| 325 | core_timing.Shutdown(); | 325 | core_timing.Shutdown(); |
| 326 | app_loader.reset(); | 326 | app_loader.reset(); |
| 327 | perf_stats.reset(); | ||
| 328 | gpu_core.reset(); | 327 | gpu_core.reset(); |
| 328 | perf_stats.reset(); | ||
| 329 | kernel.Shutdown(); | 329 | kernel.Shutdown(); |
| 330 | memory.Reset(); | 330 | memory.Reset(); |
| 331 | applet_manager.ClearAll(); | 331 | applet_manager.ClearAll(); |