Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[app] Forget exchange context when SubscribeResponse is received
SubscribeResponse is the last action in the Subscribe transaction and ExchangeContext::HandleMessage automatically closes exchanges that have no pending requests nor responses. ReadClient still kept the pointer to the exchange after receiving SubscribeResponse, so it would attempt to abort already closed exchange if the subscription was cancelled after receiving the SubscribeResponse and before receving a subsequent Report message.
- Loading branch information