Mercurial > fife-parpg
changeset 608:c54f286a45fc
The last commit did not solve the random segfault issue in linux. I have added a deadtimer list to pychan's EventListenerBase which takes care of the issue (for now).
[t:483]
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 20 Sep 2010 20:21:45 +0000 |
parents | eab690c748a3 |
children | bab6eeec278c |
files | engine/python/fife/extensions/pychan/events.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/engine/python/fife/extensions/pychan/events.py Fri Sep 17 19:55:15 2010 +0000 +++ b/engine/python/fife/extensions/pychan/events.py Mon Sep 20 20:21:45 2010 +0000 @@ -163,10 +163,11 @@ n_timer = timer() f( event ) -# del self._deadtimers[:] + #FIXME: figure out a way to get rid of the dead timer list + del self._deadtimers[:] if n_timer in self._timers: -# self._deadtimers.append(n_timer) + self._deadtimers.append(n_timer) self._timers.remove(n_timer)