コード例 #1
0
    public void Cleanup()
    {
        _streaming = false;
        _timer.Reset();

        ClearInputImpl();
    }
コード例 #2
0
    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();
            }
        }
    }