Commit 5433e8d8 authored by Tim Schoof's avatar Tim Schoof
Browse files

Do not clear event in run to avoid race condition

parent bb036bef
...@@ -93,7 +93,6 @@ class Streamer: ...@@ -93,7 +93,6 @@ class Streamer:
def run(self): def run(self):
log.info("Start stream processing.") log.info("Start stream processing.")
self.stopped.clear()
try: try:
while not self.stopped.is_set(): while not self.stopped.is_set():
success = self._process_stream() success = self._process_stream()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment