Restructure callback subscriptions

Fix a callback leak that would occur when dropping a subscription
to a callback collection after triggering that callback, but before
processing the effect of *adding* the handler.

Co-authored-by: Kay Simmons <kay@zed.dev>
378f0c32feMax Brunsfeld committed on 1/6/2023, 12:41:23 AMparentf669b8a
2 files changedLine totals unavailable