You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firing unsubscribe sometime causes a lockup when the last subscription is removed from a device.
The DeviceEmptyHandler in SharpDX_DirectInput seems to be crashing when calling _activeDevices[e].Dispose()
private void DeviceEmptyHandler(object sender, DeviceDescriptor e)
{
_logger.Log($"Device {e.DeviceHandle} instance {e.DeviceInstance} is empty, disposing...");
_activeDevices[e].Dispose();
_activeDevices.TryRemove(e, out _);
}
This calls PollingDeviceHandlerBase's Dispose() method
Remove use of Thread.Abort to kill PollThreads, use flags to signal to PollThread to end instead.
Add Init() method to PollingDeviceHandler and start thread in there - starting thread in ctor of PollingDeviceHandler meant that thread was started before derived DiDeviceHandler had initialized
Firing unsubscribe sometime causes a lockup when the last subscription is removed from a device.
The DeviceEmptyHandler in SharpDX_DirectInput seems to be crashing when calling
_activeDevices[e].Dispose()
This calls
PollingDeviceHandlerBase
'sDispose()
methodWhen running in Visual Studio, it always works, but sometimes, if not running in Visual Studio, it hangs on the line
_pollthread.Join();
The text was updated successfully, but these errors were encountered: