DustinBrett / daedalOS

Desktop environment in the browser
https://dustinbrett.com
MIT License
8.51k stars 678 forks source link

window.define race condition from Monaco locking it #397

Open DustinBrett opened 8 months ago

DustinBrett commented 8 months ago

Opening BoxedWine and other apps which use window.define less than 2.5 seconds after opening Monaco causes an issue because of code I had added to handle the fact Monaco steals window.define.

Ideally this should never happen, but it was hard to make a Proxy for this because of the way Monaco validates that function.