Skip to content

Handle X11 errors during webview destruction on Linux to prevent crashes.#28

Merged
kdroidFilter merged 2 commits intokdroidFilter:mainfrom
zaroxh:main
Mar 2, 2026
Merged

Handle X11 errors during webview destruction on Linux to prevent crashes.#28
kdroidFilter merged 2 commits intokdroidFilter:mainfrom
zaroxh:main

Conversation

@zaroxh
Copy link
Contributor

@zaroxh zaroxh commented Mar 2, 2026

This PR fixes a Linux-only crash caused by an X11 BadWindow error during WebView teardown. The issue stems from a timing/race condition where AWT may destroy the parent X11 window while GTK is still processing widget/window destruction.

@DrUlysses
Copy link

@kdroidFilter I had the same problem on arch linux. Is fixed with the changes

@kdroidFilter kdroidFilter merged commit ebfdfe4 into kdroidFilter:main Mar 2, 2026
4 checks passed
@kdroidFilter
Copy link
Owner

Thanks a lot :) Great Work !

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.

3 participants