So I got a strange one - back in Dec there was a commit that modifies enabled state (ButchersBoy/Dragablz@860cbab). This is a good change and was actually committed by a coworker of mine. However I'm running into VERY rare situations where a closing tab gets exceptions when the enabled state is set (at MS.Win32.UnsafeNativeMethods.EnableWindow(HandleRef hWnd, Boolean enable)
at System.Windows.Interop.HwndHost.OnEnabledChanged, The parameter is incorrect) - probably because the window handle is either ending up null or invalid by the point the code executes. Thoughts? I don't want to remove the code, but right now I'm considering forking and just having a hack try/catch around it. the only other thought I had was to somehow add a boolean property to conditionalize setting the child.IsEnabled, but that seemed like major overkill.