public void Stop() { // Notify threads to exit consoleInput.WriteLine(null); commandQueue.Add(null); recognizer.Stop(); }
public static void Stop() { submissionThread.Abort(); recognizer.Stop(); }