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

Access violation at exit leaves process suspended in Resource Monitor #200

Closed
SteveTownsend opened this issue Sep 3, 2020 · 2 comments
Closed

Comments

@SteveTownsend
Copy link
Owner

Discord report. Probably related to scan thread not shutting down.

@SteveTownsend
Copy link
Owner Author

I think the solution to this is to have the VM control the checking of UI State while menus are open. I had tried to invert that so the native C++ part did that but I think that means the checking will continue during game shutdown. If game is shutting down (from system menu if clean) then the native C++ code will just be blocked because the VM will never respond, and should not cause this exception any more.
I'll be testing that out in a few and drop a v2.9.5.0 release with the change if it looks stable.

@SteveTownsend
Copy link
Owner Author

Modified EventPublisher to not use RAII - the AV is in SKSE::Impl::~RegistrationSetBase. Tested OK for v2.9.5.0 by reporting user. Handed over to RSM via Ryan-rsm-McKenzie/CommonLibSSE#34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant