projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout module player.
[minwii.git]
/
src
/
app
/
eventutils.py
diff --git
a/src/app/eventutils.py
b/src/app/eventutils.py
index
c115c28
..
ed03913
100755
(executable)
--- a/
src/app/eventutils.py
+++ b/
src/app/eventutils.py
@@
-46,6
+46,8
@@
class _EventDispatcher :
listeners = self.registry.get(event.type, [])
for listener in listeners :
listener(event)
listeners = self.registry.get(event.type, [])
for listener in listeners :
listener(event)
+ def reset(self) :
+ self.registry = {}
def __repr__(self) :
out = StringIO()
def __repr__(self) :
out = StringIO()