This PR replaces the previous semantics of Window::open() blocking indefinitely with Window::open() returning a WindowHandle immediately. WindowHandle then has an app_run_blocking() method which replicates the previous semantics.
In standalone applications, WindowHandle.app_run_blocking() must be called from fn main() in order to keep the app from immediately closing. In plugins, app_run_blocking() should not be called.
This PR replaces the previous semantics of
Window::open()
blocking indefinitely withWindow::open()
returning aWindowHandle
immediately.WindowHandle
then has anapp_run_blocking()
method which replicates the previous semantics.In standalone applications,
WindowHandle.app_run_blocking()
must be called fromfn main()
in order to keep the app from immediately closing. In plugins,app_run_blocking()
should not be called.