diff options
| author | Chris <f1ana@users.noreply.github.com> | 2026-10-03 09:49:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-03 13:49:25 +0000 |
| commit | 69a7cdb1792e9b84c693d2ee5434da14d6942eba (patch) | |
| tree | e78859b958124fcd4587fc2656448c7ca8957af2 | |
| parent | 9eafd15fe1382c5a41e881f1b6ea87345c797d18 (diff) | |
[Bugfix] Fix crash on exit after rando gen (#7296)
| -rw-r--r-- | soh/soh/OTRGlobals.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 1eb3d212e..501793e47 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -1606,6 +1606,7 @@ extern "C" void SaveManager_ThreadPoolWait() { extern "C" void DeinitOTR() { SaveManager_ThreadPoolWait(); + WaitForRandoGeneration(); OTRAudio_Exit(); if (CVarGetInteger(CVAR_REMOTE_CROWD_CONTROL("Enabled"), 0)) { CrowdControl::Instance->Disable(); |
