Drop active searchable item subscription when changing active item (#4220)

We were leaking the previous active item's subscription, which meant
that we would receive the `MatchesInvalidated` event as many times as we
changed items.

Release Notes:

- Fixed a performance issue when switching the active item while the
search bar was open.
8ce7594a26Antonio Scandurra committed on 1/23/2024, 5:50:01 PM· committed by GitHubparents3d5da2fb151e12
1 file changedLine totals unavailable