Commit 415967db authored by Georgios Dagkakis's avatar Georgios Dagkakis

Machine to signal giver if empty after interruption

parent 15e571bf
......@@ -939,6 +939,9 @@ class Machine(CoreObject):
activeObjectQueue=self.Res.users
if len(activeObjectQueue):
activeEntity=activeObjectQueue[0]
# if the machine is empty signal giver
else:
self.signalGiver()
# if the machine returns from an failure while processing an entity
if not self.waitToDispose:
# use the timers to count the time that Machine is down and related
......
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