Skip to content

Fix CEF browser destruction on the wrong thread - #5447

Open
MoriskaSosiska wants to merge 8 commits into
multitheftauto:masterfrom
MoriskaSosiska:fix-cef
Open

MoriskaSosiska wants to merge 8 commits into
multitheftauto:masterfrom
MoriskaSosiska:fix-cef

Conversation

@MoriskaSosiska

Copy link
Copy Markdown
Contributor

Release web browser render items on the render thread before closing CEF asynchronously.

This prevents CEF UI-thread destruction from releasing DX resources, which could cause hangs during frequent browser creation/destruction cycles.

Also synchronize GetViewRect with render-item detachment, free retained frame buffers earlier, and remove the redundant about:blank navigation before a forced browser close.

@FileEX FileEX added the bugfix Solution to a bug of any kind label Sep 23, 2026
@FileEX

FileEX commented Sep 30, 2026

Copy link
Copy Markdown
Member

Please, fix clang format

@FileEX FileEX added the feedback Further information is requested label Sep 30, 2026
@FileEX FileEX removed the feedback Further information is requested label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Solution to a bug of any kind

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants