Skip to content

LogicExecutor Iterating over Assembly can be broken if Assembly's contents is changed during execution #651

@g105b

Description

@g105b

It's a really odd one, this... but it has affected my production code.

Under certain environments, a race condition can occur where an Assembly is adjusted while it's being iterated on within the invoke function.

To avoid this, the iterator should be converted to an array before iteration occurs, so the contents of the iterator is evaluated in a fully predictable fashion.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions