Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make removeDevice drop the subscription for an MTRDevice. (#33767)
MTRDevice uses auto-resubscribe subscriptions. We had tests that set up a device, then did removeDevice, but that did not clear the subscription, and any attempts to clear it on the server side would cause it to try to re-subscribe if the subscription drop was detected. When invalidating an MTRDevice, we should tear down its subscription.
- Loading branch information