mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
ZVISION: Delete the render manager after the script manager on quit
This is necessary, as the script manager may include references to the render manager, such as side effects in Zork: Nemesis. Fixes a crash on engine exit when the current scene contains such effects
This commit is contained in:
parent
eb46e83796
commit
fd34456bb8
@ -127,8 +127,8 @@ ZVision::~ZVision() {
|
||||
delete _cursorManager;
|
||||
delete _stringManager;
|
||||
delete _saveManager;
|
||||
delete _renderManager;
|
||||
delete _scriptManager;
|
||||
delete _renderManager; // should be deleted after the script manager
|
||||
delete _rnd;
|
||||
delete _midiManager;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user