Reset notified_by list per serialized batch

Fixes the case where a handler attempts to run for every batch after any
batch has notified it, regardless of whether the current batch did.
parent a56e1f31
......@@ -444,6 +444,7 @@ class PlayBook(object):
self.inventory.restrict_to(handler.notified_by)
self._run_task(play, handler, True)
self.inventory.lift_restriction()
handler.notified_by = []
self.inventory.lift_also_restriction()
......
Markdown is supported
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