You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd need to think about this. We have some internal constructors that let you fork off state. Not on IsoMutableMap, though. You may be able to try something like this:
We have a bit of fairly complicated logic in our project that uses an
IsoMutableMap
whose value is anotherIsoMutableMap
, something likeAs part of a recent change, we ended up with some code that boils down to
and were surprised to find that this causes a deadlock:
IsoMutableMap
constructor callscreateState
StateHolder
so it just directly callsrunner.stateRun
, not realizing we're already on the thread it wants to run onNot sure if there's a clean way that the threading information could be conveyed here to do the right thing.
The text was updated successfully, but these errors were encountered: