on stop stop listening
This commit is contained in:
1 parent
2edc43fd95
commit
fcb2b90999
1 file changed
+1
@@ -112,6 +112,7 @@ class SttDialog : DialogFragment() {
|
||||
|
||||
override fun onStop() {
|
||||
super.onStop()
|
||||
stt?.stopListening()
|
||||
stt?.destroy()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user