Model modifications happening during fj-host
initialization could be missed
#32
Labels
type: bug
Something isn't working
fj-host
initialization could be missed
#32
The initialization of the host application roughly looks like this:
If the model were to be modified during step 2., that change would be missed. I don't think this is very likely, and have certainly never seen it in real use, but none the less, there's a race condition here.
I haven't looked into this in a while, but last time I did, I got the impression that it isn't easy to fix, and probably a rework of that aspect of the architecture would be required.
In case anyone wants to take a look, here's where the model is loaded:
fornjot/src/main.rs
Lines 53 to 59 in 416df5f
And here's where the watcher is set up:
fornjot/src/main.rs
Lines 123 to 163 in 416df5f
The text was updated successfully, but these errors were encountered: