zed/crates/gpui
Antonio Scandurra e0c772db3e Hold a weak handle to Presenter when dispatching events
This ensures that the only strong reference to the presenter is held
by `App`. This is important because we want to call `flush_effects`
when removing a window and implicit drops of the `Presenter` would
make that hard.

Before this commit, if a rendered view contained strong handles to
views and models, we would only drop them on the next `flush_effects`.
This was manifesting itself in `Project`s not being released when
closing their containing window.
2022-05-17 13:04:38 +02:00
..
examples
grammars/context-predicate
src Hold a weak handle to Presenter when dispatching events 2022-05-17 13:04:38 +02:00
build.rs
Cargo.toml Send telemetry to Honeycomb via GRPC 2022-04-27 09:58:55 -06:00