From 1bb49ab023477bf17b06a9a3a105f7314cf06788 Mon Sep 17 00:00:00 2001 From: Huang Xin Date: Sat, 28 Feb 2026 15:58:02 +0800 Subject: [PATCH] fix(tts): dispose of the TTS view when shutting down the TTS controller, closes #3400 (#3406) --- apps/readest-app/src/services/tts/TTSController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/readest-app/src/services/tts/TTSController.ts b/apps/readest-app/src/services/tts/TTSController.ts index 99f6d64a..64996093 100644 --- a/apps/readest-app/src/services/tts/TTSController.ts +++ b/apps/readest-app/src/services/tts/TTSController.ts @@ -540,6 +540,7 @@ export class TTSController extends EventTarget { await this.stop(); this.#clearHighlighter(); this.#ttsSectionIndex = -1; + this.view.tts = null; if (this.ttsWebClient.initialized) { await this.ttsWebClient.shutdown(); }