diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/exception/RxJavaErrorHandlerSetup.java b/core/src/main/java/de/danoeh/antennapod/core/util/exception/RxJavaErrorHandlerSetup.java index 431760708..f34ca75be 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/exception/RxJavaErrorHandlerSetup.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/exception/RxJavaErrorHandlerSetup.java @@ -4,6 +4,8 @@ import android.util.Log; import io.reactivex.exceptions.UndeliverableException; import io.reactivex.plugins.RxJavaPlugins; +import java.io.InterruptedIOException; + public class RxJavaErrorHandlerSetup { private RxJavaErrorHandlerSetup() { @@ -15,7 +17,7 @@ public class RxJavaErrorHandlerSetup { if (e instanceof UndeliverableException) { e = e.getCause(); } - if (e instanceof InterruptedException) { + if (e instanceof InterruptedException || e instanceof InterruptedIOException) { // fine, some blocking code was interrupted by a dispose call Log.d("RxJavaErrorHandler", "Ignored exception: " + Log.getStackTraceString(e)); return;