1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00
JUCE/modules/juce_gui_extra/native
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
..
java/app/com/rmsl/juce WebBrowserComponent: Improve native integrations 2024-04-16 17:43:21 +01:00
javaopt/app/com/rmsl/juce Update licensing information 2024-04-16 11:39:35 +01:00
javascript WebView frontend: Fix window.__JUCE__.backend.removeEventListener 2025-02-19 09:30:13 +00:00
juce_ActiveXComponent_windows.cpp Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_AndroidViewComponent.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_AppleRemote_mac.mm Deprecations: Add ignore deprecation warning macros 2024-11-27 11:07:04 +00:00
juce_HWNDComponent_windows.cpp Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
juce_NSViewComponent_mac.mm Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_NSViewFrameWatcher_mac.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_PushNotifications_android.cpp JNI: Tidying 2025-09-17 12:50:05 +01:00
juce_PushNotifications_ios.cpp Accessibility: Add AccessibilityHandler::postSystemNotification() function for posting an OS-specific accessible notification 2024-12-04 11:11:21 +00:00
juce_PushNotifications_mac.cpp Accessibility: Add AccessibilityHandler::postSystemNotification() function for posting an OS-specific accessible notification 2024-12-04 11:11:21 +00:00
juce_SystemTrayIcon_linux.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_SystemTrayIcon_mac.cpp Deprecations: Add ignore deprecation warning macros 2024-11-27 11:07:04 +00:00
juce_SystemTrayIcon_windows.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_UIViewComponent_ios.mm Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_WebBrowserComponent_android.cpp Android: Update bytecode minimum version requirements 2025-09-17 12:50:06 +01:00
juce_WebBrowserComponent_linux.cpp WebBrowserComponent: Fix bug where Linux browser process could segfault during shutdown 2025-12-16 12:23:59 +00:00
juce_WebBrowserComponent_mac.mm Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_WebBrowserComponent_windows.cpp Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_XEmbedComponent_linux.cpp LV2 Host: Avoid double-nesting XEmbed views 2025-12-16 12:23:59 +00:00