Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[android][ios] Fix dispose problem with NativeHttpHandlers (#93262)
#90298 made sure the MetricsHandler was the top level handler for all NativeHttpHandler requests similar to what is done with SocketsHttpHandler. After creating the MetricsHandler, the code mistakenly disposed of `_nativeHandler`, which resulted in `Dispose` being called multiple times and eventually throwing a `Cannot access a disposed object` exception. Fixes #93252
- Loading branch information