✍️ Describe the bug
Caused by: java.lang.Throwable: Explicit termination method 'end' not called
at dalvik.system.CloseGuard.open(CloseGuard.java:237)
at java.util.zip.Inflater.<init>(Inflater.java:122)
at okio.GzipSource.<init>(GzipSource.kt:44)
at com.chuckerteam.chucker.internal.support.IOUtils.getNativeSource(IOUtils.kt:59)
at com.chuckerteam.chucker.api.ChuckerInterceptor.processRequest(ChuckerInterceptor.kt:132)
at com.chuckerteam.chucker.api.ChuckerInterceptor.intercept(ChuckerInterceptor.kt:97)
💣 Steps to reproduce
StrictMode.setVmPolicy(
VmPolicy.Builder()
.detectLeakedClosableObjects()
.penaltyLog()
.penaltyDeath()
)
Call an endpoint using gzip compression.
🔧 Expected behavior
No violation. GzipSource is closed.
📱 Tech info
✍️ Describe the bug
💣 Steps to reproduce
Call an endpoint using gzip compression.
🔧 Expected behavior
No violation.
GzipSourceis closed.📱 Tech info