Files
oak-gpui/crates
Max Brunsfeld afbc655100 Ensure that views' on_release callbacks are always called (#3747)
* Ensure that views' on_release callbacks are always called (even if
their window is gone), by passing them a `AppContext`, not a
`WindowContext`.
* Fix leaked handles to `CollabPanel`, `NotificationPanel`, and
`ChatPanel` caused by captures in a `ListState` render callback.

This fixes two issues we were seeing with following:
* inability to rejoin a remote project after you closed it
* following not working if a window had previously been closed
2023-12-20 16:45:37 -08:00
..
…
…
…
2023-12-12 11:27:40 -05:00
…
2023-12-20 13:15:44 -05:00
…
…
…
…
…
…
…
2023-12-13 13:40:19 -08:00
2023-12-13 10:47:32 -05:00
2023-12-13 10:47:32 -05:00
…
…
…
2023-12-19 12:02:35 -08:00
2023-12-12 18:04:47 -05:00
2023-12-12 13:34:46 +02:00
2023-12-13 13:43:39 -07:00
…
…
…
2023-12-20 18:47:22 -05:00
2023-12-20 18:23:21 -05:00
…
2023-12-20 18:47:22 -05:00
…
2023-12-12 18:54:35 -07:00
2023-12-13 14:14:03 -07:00