diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index c480ccec0..f6efeef59 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -139,6 +139,8 @@ class HttpReadAloudService : BaseReadAloudService(), playAudio(fis.fd) } } + } catch (e: CancellationException) { + //停止朗读,不处理 } catch (e: SocketTimeoutException) { removeSpeakCacheFile(fileName) toastOnUi("tts接口超时,尝试重新获取")