[Scummvm-cvs-logs] scummvm master -> d5a763b763a39dbd0873f7eb6e17105a9b1cc958

Kirben kirben at optusnet.com.au
Fri Oct 7 05:46:05 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d5a763b763 AGOS: Update MidiPlayer::~MidiPlayer() to match the default implementation. Hopefully will fix bug #3419778, thanks to d


Commit: d5a763b763a39dbd0873f7eb6e17105a9b1cc958
    https://github.com/scummvm/scummvm/commit/d5a763b763a39dbd0873f7eb6e17105a9b1cc958
Author: Travis Howell (kirben at optusnet.com.au)
Date: 2011-10-06T20:38:24-07:00

Commit Message:
AGOS: Update MidiPlayer::~MidiPlayer() to match the default implementation. Hopefully will fix bug #3419778, thanks to digitall for the pointer.

Changed paths:
    engines/agos/midi.cpp



diff --git a/engines/agos/midi.cpp b/engines/agos/midi.cpp
index 9a93e0a..431f080 100644
--- a/engines/agos/midi.cpp
+++ b/engines/agos/midi.cpp
@@ -62,6 +62,7 @@ MidiPlayer::~MidiPlayer() {
 
 	Common::StackLock lock(_mutex);
 	if (_driver) {
+		_driver->setTimerCallback(0, 0);
 		_driver->close();
 		delete _driver;
 	}






More information about the Scummvm-git-logs mailing list