TTS helper should not be shutdown

pull/216/head
M66B 2 months ago
parent fb37f155e5
commit 933960b347

@ -1096,8 +1096,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
liveAccountNetworkState.postDestroy();
TTSHelper.shutdown();
try {
stopForeground(true);
} catch (Throwable ex) {

@ -90,18 +90,4 @@ public class TTSHelper {
speak.run();
}
}
static void shutdown() {
synchronized (lock) {
if (instance != null)
try {
Log.i("TTS shutdown");
instance.shutdown();
instance = null;
} catch (Throwable ex) {
Log.e(ex);
}
status = null;
}
}
}

Loading…
Cancel
Save