1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_extra
reuk 14ee9e46ff
WebBrowserComponent: Fix bug where Linux browser process could segfault during shutdown
This issue could be observed when loading the WebViewPluginDemo in the
AudioPluginHost, opening its editor, and then attempting to close the
editor window using the titlebar button. Tested on Fedora 42 with
libwebkit2gtk-4.1.

Unloading the webkit library with dlclose seems to cause the webview
process to crash, even if gtk_main() has already exited at that point.

Maybe this points to a need to manually clean up the webview somehow
before calling gtk_main_quit, but I can't see any obvious candidate
functions in the docs (gtk_widget_destroy doesn't seem to help).

The workaround presented here just opens the webkit library with
RTLD_NODELETE, which isn't ideal but might be necessary if this library
hasn't been designed with dynamic load/unload in mind.
2025-12-16 12:23:59 +00:00
..
code_editor Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
detail WebBrowserComponent: Improve native integrations 2024-04-16 17:43:21 +01:00
documents Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
embedding Linux: XEmbedComponent: Improve focus transfer handling 2024-04-16 17:43:21 +01:00
misc Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
native WebBrowserComponent: Fix bug where Linux browser process could segfault during shutdown 2025-12-16 12:23:59 +00:00
juce_gui_extra.cpp Fix BSD build 2024-08-19 13:49:41 +02:00
juce_gui_extra.h Bump version number to 8.0.12 2025-12-16 08:48:49 +00:00
juce_gui_extra.mm Update licensing information 2024-04-16 11:39:35 +01:00