ModernHttpClient
ModernHttpClient copied to clipboard
Cannot access a disposed object. Object name: 'Square.OkHttp3.OkHttpClient'.
I am seeing the following exception occurring often in Android 9.0 devices. It was not occurring in v 3.4.2 of the package. There was an update made for OkHttp3 nuget package in v 3.4.3. Is that causing this?
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Square.OkHttp3.OkHttpClient'.
at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00029] in
Let me try to reproduce the issue.