- try to keep the engine stable for as long as possible if a VM exception occurs in OnDestroy while running a cleanup.

This will still crash, but run long enough for the exception message to be visible.
This commit is contained in:
Christoph Oelckers 2022-10-20 16:48:18 +02:00
commit b6c5232fea
6 changed files with 12 additions and 11 deletions

View file

@ -1069,7 +1069,7 @@ static void G_FullConsole()
primaryLevel->Music = "";
S_Start();
S_StopMusic(true);
P_FreeLevelData();
P_FreeLevelData(false);
}
}