Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on exit of many package editor windows #392

Open
mirh opened this issue Aug 19, 2023 · 0 comments
Open

Crash on exit of many package editor windows #392

mirh opened this issue Aug 19, 2023 · 0 comments
Labels

Comments

@mirh
Copy link

mirh commented Aug 19, 2023

Describe the bug
I quit the application (from the "close all windows" right-click button in the task bar IIRC) and I got a crash.

To Reproduce
I don't know really. I had only opened a ME1 file, and then through many "find usages in file" and "go to definition" I had several other windows spawned at the time.
Some minor script editing and saving also happened previously, but I don't think it's related.

Expected behavior
Don't crash

Version information:
6.3 nightly 18/08/2023

Stack trace

InvalidOperationException: Cannot set Visibility to Visible or call Show, ShowDialog, Close or WindowInteropHelper.EnsureHandle while a Window is closing.
   at System.Windows.Window.VerifyNotClosing()
   at System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
   at LegendaryExplorer.MainWindow.LEXMainWindow.CloseSubWindows() in D:\a\1\s\LegendaryExplorer\LegendaryExplorer\MainWindow\LEXMainWindow.xaml.cs:line 239
   at LegendaryExplorer.MainWindow.LEXMainWindow.MainWindow_Closing(Object sender, CancelEventArgs e) in D:\a\1\s\LegendaryExplorer\LegendaryExplorer\MainWindow\LEXMainWindow.xaml.cs:line 253
   at System.Windows.Window.WmClose()
   at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
@mirh mirh changed the title Crash on close of many package editors windows Crash on exit of many package editor windows Aug 23, 2023
@Mgamerz Mgamerz added the bug label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants