From 8c2c7d7ea9fc0acfad3b65434508fe2a7fc624b4 Mon Sep 17 00:00:00 2001 From: moon0900 Date: Mon, 16 Dec 2024 00:08:23 +0900 Subject: [PATCH] fix: null pointer access when shutdown TTS Manager --- app/src/main/java/com/dna/beyoureyes/util/TTSManager.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/dna/beyoureyes/util/TTSManager.kt b/app/src/main/java/com/dna/beyoureyes/util/TTSManager.kt index 337ec6f..555701a 100644 --- a/app/src/main/java/com/dna/beyoureyes/util/TTSManager.kt +++ b/app/src/main/java/com/dna/beyoureyes/util/TTSManager.kt @@ -154,6 +154,5 @@ class TTSManager(context: Context) : tts = null isSpeaking = false utteranceIdQueue.clear() - ttsStateListener?.onTTSDone() } } \ No newline at end of file