Commit 9d7b0d5e authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'fix_proc' into 'master'

Fixed issues on missing join update.

See merge request !2
parents 661b2a74 2f344b62
Pipeline #37068 passed with stages
in 4 minutes and 34 seconds
......@@ -314,7 +314,7 @@ class Chord(Proc):
total_children (int): the number of spawned children
"""
self.total_children = total_children
self.save()
self.modify(total_children=self.total_children)
self._check_join(children=0)
def completed_child(self):
......@@ -336,7 +336,7 @@ class Chord(Proc):
if not joined:
self.join()
self.joined = True
self.save()
self.modify(joined=self.joined)
self.get_logger().debug('Chord is joined')
else:
raise InvalidChordUsage('Chord cannot be joined twice.')
......
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