private void Shutdown()
{
if (!started) return;
try
{
converse.Shutdown();
listener.Shutdown();
talker.Shutdown();
env.Shutdown();
sound.Shutdown();
}
catch (Exception e)
{
Logger.Log("Failed to shutdown speech modules: ", Helpers.LogLevel.Warning, e);
}
finally
{
started = false;
}
}