delete State Machine
Delete a state machine and free its resources. This is useful when you no longer need the state machine and want to free up memory. Counterpart to createDefaultStateMachine or createStateMachineByName.
Parameters
state Machine Handle
The handle of the state machine to delete.
Throws
If the CommandQueue has been released.