[Scummvm-cvs-logs] SF.net SVN: scummvm:[43623] scummvm/trunk/engines/agi/agi.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Aug 22 02:18:22 CEST 2009


Revision: 43623
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43623&view=rev
Author:   lordhoto
Date:     2009-08-22 00:18:22 +0000 (Sat, 22 Aug 2009)

Log Message:
-----------
Properly uninitialize timer used in AgiEngine.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/agi.cpp

Modified: scummvm/trunk/engines/agi/agi.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi.cpp	2009-08-21 23:04:06 UTC (rev 43622)
+++ scummvm/trunk/engines/agi/agi.cpp	2009-08-22 00:18:22 UTC (rev 43623)
@@ -652,6 +652,8 @@
 }
 
 AgiEngine::~AgiEngine() {
+	_timer->removeTimerProc(agiTimerFunctionLow);
+
 	// If the engine hasn't been initialized yet via AgiEngine::initialize(), don't attempt to free any resources,
 	// as they haven't been allocated. Fixes bug #1742432 - AGI: Engine crashes if no game is detected
 	if (_game.state == STATE_INIT) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list