PCSX2Bonus.Gamepad.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            if (this._joystick != null)
            {
                this._joystick.Unacquire();
                this._joystick.Dispose();
                this._joystick = null;
            }
            this.IsValid = false;
        }