ZIm/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 Pass visible bounds to Element::dispatch_event 2022-04-07 15:10:09 +02:00
grammars/context-predicate Use Rust 2021 edition in all crates 2022-01-26 12:50:31 -08:00
src Hold a weak handle to Presenter when dispatching events 2022-05-17 13:04:38 +02:00
build.rs Move all crates to a top-level crates folder 2021-10-04 13:22:21 -06:00
Cargo.toml Send telemetry to Honeycomb via GRPC 2022-04-27 09:58:55 -06:00