aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/loop.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index 29be5aa..f9df231 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -114,12 +114,11 @@ def sigterm_handler(_signo, _stack_frame):
__preparethreadEvent__.set()
# Main loop and single thread #
+__terminate__ = False
def loop():
utils.dirtycheck()
initialize.all()
if conf.multithread:
- global __terminate__
- __terminate__ = False
__preparethread__.start()
__measurethread__.start()
else: