diff options
author | Alyssa Milburn | 2012-08-28 09:19:10 +0200 |
---|---|---|
committer | Alyssa Milburn | 2012-08-28 09:26:04 +0200 |
commit | 3570a0153dfa1034fc8acece5f755038487a5886 (patch) | |
tree | 33f99ba6802763391d05ed02ff0bd64d3b89c2ee /engines/tony/tony.cpp | |
parent | 28681a32eeaeba6029d6040da89bd810a0dd2b35 (diff) | |
download | scummvm-rg350-3570a0153dfa1034fc8acece5f755038487a5886.tar.gz scummvm-rg350-3570a0153dfa1034fc8acece5f755038487a5886.tar.bz2 scummvm-rg350-3570a0153dfa1034fc8acece5f755038487a5886.zip |
TONY: Improve Take/ReleaseOwnership.
This releases all held 'mutexes' when processes die, and keeps
track of the lock count too, just in case.
Diffstat (limited to 'engines/tony/tony.cpp')
-rw-r--r-- | engines/tony/tony.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp index b0ca074c16..b9d12beb11 100644 --- a/engines/tony/tony.cpp +++ b/engines/tony/tony.cpp @@ -89,6 +89,7 @@ TonyEngine::~TonyEngine() { // Reset the coroutine scheduler CoroScheduler.reset(); + CoroScheduler.setResourceCallback(NULL); delete _debugger; } |