Prevent multiple objects from sharing the same sync step
Change-Id: I82d546df942aa1e2c320c9d91d10506381990a1f
(cherry picked from commit 5103bc3ff0d02f05fb185b5b0417deb19314483b)
diff --git a/xos/synchronizers/new_base/event_loop.py b/xos/synchronizers/new_base/event_loop.py
index 049297f..242cd19 100644
--- a/xos/synchronizers/new_base/event_loop.py
+++ b/xos/synchronizers/new_base/event_loop.py
@@ -389,6 +389,8 @@
if not hasattr(step, 'call'):
pending = step.fetch_pending(deletion)
for obj in pending:
+ step = step_class(driver=self.driver)
+ step.log = self.log.bind(step=step)
obj.synchronizer_step = step
pending_objects.extend(pending)
else: