Commit 5336a948 authored by Sebastien Petitdemange's avatar Sebastien Petitdemange
Browse files

chain: fixed re-spawning reading task (INTERNAL_MULTI_TRIGGER)

parent f01b00ca
......@@ -469,7 +469,8 @@ class AcquisitionDevice(object):
def _start(self, statistic_container):
with profile(statistic_container,, "start"):
self._reading_task = gevent.spawn(self.reading)
if self._check_reading_task():
self._reading_task = gevent.spawn(self.reading)
dispatcher.send("start", self)
def stop(self):
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