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
afbc655100Max Brunsfeld committed on 12/21/2023, 12:45:37 AM· committed by GitHubparents87a138724970c1
8 files changedLine totals unavailable