zed/gpui
Nathan Sobo 2c74d75687 Fix double borrow error in Window::on_close callbacks when quitting app
The simplest solution I could come up with was to make quitting the app asynchronous. Calling mac::Platform::quit enqueues a request to quit the app and then allows the call stack to fully return. This ensures we aren't holding a borrow when we quit and invoke all the Window::on_close callbacks. Seems like it should be fine to be async on quitting.
2021-05-08 08:49:14 -06:00
..
examples Pass the on_finish_launching callback to Platform::run 2021-04-09 21:33:17 -06:00
grammars/context-predicate Add context predicate parser 2021-03-09 19:33:19 -07:00
src Fix double borrow error in Window::on_close callbacks when quitting app 2021-05-08 08:49:14 -06:00
build.rs Whitelist shader bindings using a regex, not individual types 2021-03-29 12:39:21 -07:00
Cargo.toml Use our own scoped_pool implementation 2021-04-20 14:07:36 -07:00