[core/input] Add callback deregistration
Enable components to unregister callbacks (i.e. for dynamic widgets). see #23
This commit is contained in:
parent
761b81970d
commit
918d7a6046
3 changed files with 51 additions and 3 deletions
|
@ -108,7 +108,7 @@ class Engine(object):
|
|||
self._output.flush()
|
||||
self._output.end()
|
||||
if self.running():
|
||||
time.sleep(1)
|
||||
self.input.wait(self._config.get("interval", 1))
|
||||
|
||||
self._output.stop()
|
||||
self.input.stop()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue