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

Bug: System.InvalidOperationException when rapidly clicking a registered application #49

Closed
hyperbx opened this issue Aug 22, 2020 · 2 comments
Assignees
Labels
accepted Proposed change was accepted to be fixed/handled by the developers. bug Something isn't working completed Work has been completed by the developers. untriaged No decision has been made by the developers.
Projects

Comments

@hyperbx
Copy link

hyperbx commented Aug 22, 2020

By rapidly clicking on any of the registered applications in the main Reloaded II interface, it will simply close, skipping the exception handler.

Steps to reproduce the behaviour:

  1. Launch Reloaded II.
  2. Click on any registered application with rapid succession.
  3. Crash.

Expected Behaviour
The interface for the application should display without fault.

Screenshots
81odNiSr4K

Exception Information

Application: Reloaded-II.exe
CoreCLR Version: 4.700.20.36602
.NET Core Version: 3.1.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
   at System.Windows.Threading.Dispatcher.VerifyAccess()
   at System.Windows.DependencyObject.GetValue(DependencyProperty dp)
   at Reloaded.WPF.Controls.PageHost.get_CurrentPage()
   at Reloaded.Mod.Launcher.Pages.BaseSubpages.ApplicationPage.Dispose()
   at Reloaded.Mod.Launcher.Pages.BaseSubpages.ApplicationPage.Finalize()
@hyperbx hyperbx added bug Something isn't working untriaged No decision has been made by the developers. labels Aug 22, 2020
@Sewer56 Sewer56 added the accepted Proposed change was accepted to be fixed/handled by the developers. label Aug 22, 2020
@Sewer56 Sewer56 self-assigned this Aug 22, 2020
@Sewer56
Copy link
Member

Sewer56 commented Aug 22, 2020

I knew about this one but was never able to reproduce it personally, thanks.
This gives me an idea where to look for.

@Sewer56 Sewer56 added this to In Progress in Master Aug 22, 2020
@Sewer56
Copy link
Member

Sewer56 commented Aug 22, 2020

Fixed as of commit #37ea64b499e889ed8caf24d1d65e1d6349b86655

@Sewer56 Sewer56 added the completed Work has been completed by the developers. label Aug 22, 2020
@Sewer56 Sewer56 closed this as completed Aug 22, 2020
@project-bot project-bot bot moved this from In Progress to Complete in Master Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Proposed change was accepted to be fixed/handled by the developers. bug Something isn't working completed Work has been completed by the developers. untriaged No decision has been made by the developers.
Projects
Master
Complete
Development

No branches or pull requests

2 participants