/// <summary> /// Deallocates the recognizer. This method should only be called if the recognizer is in the allocated /// state. /// throws IllegalStateException if the recognizer is not in the ALLOCATED state /// </summary> public void Deallocate() { CheckState(State.Ready); SetState(State.Deallocating); _decoder.Deallocate(); SetState(State.Deallocated); }