public void Cleanup() { _streaming = false; _timer.Reset(); ClearInputImpl(); }
public virtual void Cleanup() { _timer.Reset(); _streaming = false; foreach (var key in receivers.Keys) { receivers[key].OnUnregistered(); } foreach (var key in senders.Keys) { if (senders[key].isRegistered) { UnregisterInputSenderImpl((byte)senders[key].deviceID); senders[key].OnUnregistered(); } } }