[Scummvm-cvs-logs] SF.net SVN: scummvm:[43624] scummvm/branches/branch-1-0-0/engines/agi/agi. cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Aug 22 02:20:33 CEST 2009
Revision: 43624
http://scummvm.svn.sourceforge.net/scummvm/?rev=43624&view=rev
Author: lordhoto
Date: 2009-08-22 00:20:33 +0000 (Sat, 22 Aug 2009)
Log Message:
-----------
Backport of r43623: "Properly uninitialize timer used in AgiEngine."
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/agi/agi.cpp
Modified: scummvm/branches/branch-1-0-0/engines/agi/agi.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/agi/agi.cpp 2009-08-22 00:18:22 UTC (rev 43623)
+++ scummvm/branches/branch-1-0-0/engines/agi/agi.cpp 2009-08-22 00:20:33 UTC (rev 43624)
@@ -651,6 +651,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