diff options
author | Eugene Sandulenko | 2014-06-13 10:44:52 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-13 10:44:52 +0300 |
commit | e181edd040ebe5e5aa3c5ef38fa672f82edcdf7e (patch) | |
tree | 736603a25f0e7bfa1332a439a151e86bbc26d8a8 /engines/fullpipe | |
parent | 96065c7f876f6e75f4b739b5cab894246edba5b7 (diff) | |
download | scummvm-rg350-e181edd040ebe5e5aa3c5ef38fa672f82edcdf7e.tar.gz scummvm-rg350-e181edd040ebe5e5aa3c5ef38fa672f82edcdf7e.tar.bz2 scummvm-rg350-e181edd040ebe5e5aa3c5ef38fa672f82edcdf7e.zip |
FULLPIPE: Implement FullpipeEngine::cleanup()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/fullpipe.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp index 501313cbe7..bdd71f59a9 100644 --- a/engines/fullpipe/fullpipe.cpp +++ b/engines/fullpipe/fullpipe.cpp @@ -424,7 +424,15 @@ void FullpipeEngine::freeGameLoader() { } void FullpipeEngine::cleanup() { - warning("STUB: FullpipeEngine::cleanup()"); + //cleanRecorder(); + clearMessageHandlers(); + clearMessages(); + _globalMessageQueueList->compact(); + + for (uint i = 0; i < _globalMessageQueueList->size(); i++) + delete (*_globalMessageQueueList)[i]; + + stopAllSoundStreams(); } void FullpipeEngine::updateScreen() { |