Skip to content

Fix crash logger not working with MWLL#85

Merged
ccomrade merged 2 commits into
masterfrom
hook-set-unhandled-exception-filter
Jan 11, 2026
Merged

Fix crash logger not working with MWLL#85
ccomrade merged 2 commits into
masterfrom
hook-set-unhandled-exception-filter

Conversation

@ccomrade

Copy link
Copy Markdown
Owner

When a mod calls SetUnhandledExceptionFilter to register its own crash handler and ignores the returned previous handler, it disables the crash logger in C1-Launcher. This is what happened with the MWLL mod.

To fix the issue, a SetUnhandledExceptionFilter hook is added to ensure that the crash logger stays enabled. Any additional crash handler is dispatched by the crash logger after collecting crash details and writing them into the log file.

Thanks to RickHunter for reporting this issue!

@ccomrade ccomrade merged commit 71b363b into master Jan 11, 2026
4 checks passed
@ccomrade ccomrade deleted the hook-set-unhandled-exception-filter branch January 11, 2026 21:47
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

Successfully merging this pull request may close these issues.

1 participant