aboutsummaryrefslogtreecommitdiff
path: root/operationscore/Input.py
diff options
context:
space:
mode:
Diffstat (limited to 'operationscore/Input.py')
-rw-r--r--operationscore/Input.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/operationscore/Input.py b/operationscore/Input.py
index 7720847..8800556 100644
--- a/operationscore/Input.py
+++ b/operationscore/Input.py
@@ -14,6 +14,7 @@ class Input(ThreadedSmootCoreObject):
if not 'RefreshInterval' in self.argDict:
self.argDict['RefreshInterval'] = 500
self.parentScope = self.argDict['parentScope']
+ self.done = False
self.inputInit()
def respond(self, eventDict):
@@ -44,6 +45,8 @@ class Input(ThreadedSmootCoreObject):
self.acquireLock()
self.sensingLoop()
self.releaseLock()
+ if self.done:
+ break
def sensingLoop(self):
pass