NIPPON: Crash on exit
|Reported by:||eriktorbjorn||Owned by:||peres|
Latest ScummVM SVN snapshot
English Amiga demo of Nippon Safes
The Parallaction engine does not exit very gracefully. In fact, it crashes for me every time.
The destruction of the Parallaction engine is accompanied by a snarl of invalid and/or double frees (which should be fixed, of course), but the immediate reason for the crash seems to be that ~Parallaction() calls freeLocation() after _soundMan has been deleted. The freeLocation() function calls _soundMan->stopSfx() a couple of times.
On the other hand, if I don't delete _soundMan, ScummVM hangs for me, so it actually seems to *depend* on crashing to behave "correctly".
Ticket imported from: #1726185. Ticket imported from: bugs/3206.