aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/scripts/threads.py
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/scripts/threads.py')
-rw-r--r--externals/grill/py/scripts/threads.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/py/scripts/threads.py b/externals/grill/py/scripts/threads.py
index e1a91351..b0299101 100644
--- a/externals/grill/py/scripts/threads.py
+++ b/externals/grill/py/scripts/threads.py
@@ -39,7 +39,9 @@ class ex1(pyext._class):
def bang_(self,n):
for i in xrange(self.loops):
# if _shouldexit is true, the thread ought to stop
- if self._shouldexit: break
+ if self._shouldexit:
+ print "BREAK"
+ break
self._outlet(n,i)
sleep(self.sltime)