decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

Fixing an order of operations error on system destroy #213

Closed jkeon closed 1 year ago

jkeon commented 1 year ago

There was an exception being thrown due systems being destroyed in random order and one system depending on another.

What is the current behaviour?

See above

What is the new behaviour?

We just check to see if we've been disposed already. In that case, what we were trying to elegantly remove has already been disposed.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?