mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 18:22:14 +00:00
There exists a specific state where ui.open() can be called yet the result would be a null window and such behaviour would be intentional. The following CRASH in ui.send_asset() would thus be misleading, because send_asset() was called after open(). This PR adds more information to the CRASH about when the failure state can occur, makes open() return a value based on whether it actually opened a new pooled window or not, and makes sure modular computer apps don't send_assets unless a new pooled window was created.