Meowmaritus / WiitarThing

MIT License
85 stars 23 forks source link

Application Error #17

Open diomidaza opened 1 year ago

diomidaza commented 1 year ago

Every time i turn off the controller on the wiitar, the application shows this error and crashes 1

diomidaza commented 1 year ago

Full info:

en System.ThrowHelper.ThrowKeyNotFoundException() en System.Collections.Generic.Dictionary`2.get_Item(TKey key) en WiinUSoft.Holders.XBus.Unplug(Int32 id) en D:\Programming\WiitarThing\WiitarThing\Holders\XInputHolder.cs:línea 660 en WiinUSoft.Holders.XInputHolder.Close() en D:\Programming\WiitarThing\WiitarThing\Holders\XInputHolder.cs:línea 492 en WiinUSoft.DeviceControl.Detatch() en D:\Programming\WiitarThing\WiitarThing\Components\DeviceControl.xaml.cs:línea 211 en WiinUSoft.DeviceControl.b__47_0() en D:\Programming\WiitarThing\WiitarThing\Components\DeviceControl.xaml.cs:línea 554 en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) en System.Windows.Threading.DispatcherOperation.InvokeImpl() en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) en System.Windows.Threading.DispatcherOperation.Invoke() en System.Windows.Threading.Dispatcher.ProcessQueue() en System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) en MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) en MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) en System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) en System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) en System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) en MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) en MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) en System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) en System.Windows.Application.RunDispatcher(Object ignore) en System.Windows.Application.RunInternal(Window window) en WiinUSoft.App.Main() en D:\Programming\WiitarThing\WiitarThing\App.xaml.cs:línea 27