WPF Window Closing Errors

added by DotNetKicks
9/9/2019 5:32:57 PM

1 Kicks, 154 Views

I've recently had a large uptick of errors in my Markdown Monster logs that complain about `Cannot set Visibility to Visible or call Show, ShowDialog, Close, or WindowInteropHelper.EnsureHandle while a Window is closing`. This error can crop up with nested or parallel window closing operations, which might not always be obvious when they happen.