Open ry1031 opened 7 years ago
From VS Performance Explorer, DirectInput.DataObjectFormat.__Native is still alive after dispose method. Please correct me if I am wrong. if (joystick != null) { joystick.Dispose(); } if (directInput != null) { directInput.Dispose(); }
if (joystick != null) { joystick.Dispose(); } if (directInput != null) { directInput.Dispose(); }
Version: 2.6.3.0
Looking at the code, it seems this part is actually badly handled. PR welcome.
From VS Performance Explorer, DirectInput.DataObjectFormat.__Native is still alive after dispose method. Please correct me if I am wrong.
if (joystick != null) { joystick.Dispose(); } if (directInput != null) { directInput.Dispose(); }
Version: 2.6.3.0