Skip to content

fix: Guard invalid CefSharp frames in load callbacks#538

Merged
valarnin merged 1 commit into
OverlayPlugin:mainfrom
MnFeN:HtmlRendererFix
Jun 2, 2026
Merged

fix: Guard invalid CefSharp frames in load callbacks#538
valarnin merged 1 commit into
OverlayPlugin:mainfrom
MnFeN:HtmlRendererFix

Conversation

@MnFeN

@MnFeN MnFeN commented May 29, 2026

Copy link
Copy Markdown

A user reported an exception from HtmlRenderer:

image

On that user's PC, the error appears to occur after the ACT main form has loaded, and only when the game is running.

This PR guards FrameLoadStart and FrameLoadEnd against invalid frames, but the exact reason that causes the invalid frame is still unclear.

@valarnin

Copy link
Copy Markdown

I'm not sure if this will actually fix the issue since it's possible that this is caused by cross-thread concurrency/updates, but I'll approve it since it's not hurting anything.

@valarnin valarnin merged commit f532c6f into OverlayPlugin:main Jun 2, 2026
2 checks passed
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.

2 participants