Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join Map Lane repeatedly executes didUpdate #69

Open
DobromirM opened this issue Oct 1, 2021 · 1 comment
Open

Join Map Lane repeatedly executes didUpdate #69

DobromirM opened this issue Oct 1, 2021 · 1 comment
Labels
C-bug Category: bug

Comments

@DobromirM
Copy link
Member

Using the same example from #67 the join map lane will keep executing the same didUpdate callback indefinitely every 90 seconds.

Input

@command(node:"/unit/foo", lane:"addItem")"foo"

Initial Output:

join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1

Output after 90 seconds:

join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1
join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1

Output after 180 seconds:

join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1
join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1
join map lane: foo count changed to 1 from 1
join map lane agent didStart: foo count changed to 1 from 0
join map lane: foo count changed to 1 from 1

etc...

Might be resolved when #67 is resolved.

@DobromirM DobromirM added the C-bug Category: bug label Oct 1, 2021
@DobromirM
Copy link
Member Author

Despite that join value lanes also have a duplication callback bug, they are NOT affected by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant