X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/f96fb4a3b382ac97bcdfd86549f685b02ff7968a..0509328e5d3a7760b00b99cd2176d9089279f458:/src/app/eventutils.py diff --git a/src/app/eventutils.py b/src/app/eventutils.py index c115c28..ed03913 100755 --- 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) + def reset(self) : + self.registry = {} def __repr__(self) : out = StringIO()