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/native
attila 90e72dbd98 Windows: Fix faulty mechanism for creating multiple WebView2 instances serially
Prior to this commit it was possible for the WebBrowserComponent
implementation on Windows to end up in an infinite loop if multiple
WebBrowserComponent objects were being created at the same time.

When an instance was already being created, the createWebView() call for
the second would place it in a queue and return without initiating its
creation. When the first WebView finishes creation, it calls the
handleAsyncUpdate() function of the second. However handleAsyncUdpate()
would see that the webViewBeingCreated helper variable was already true
and not call createWebView(), hence the second WebView would never be
created.

If, in the meantime, the scriptsWaitingForExecution variable wasn't
empty, handleAsyncUpdate() would endlessly call triggerAsyncUpdate().
2025-01-17 16:29:42 +01: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 Fix inactive sliderDragStarted/sliderDragEnded events in the WebView frontend library 2024-07-04 13:59:30 +00:00
juce_ActiveXComponent_windows.cpp ComSmartPtr: Make ownership more explicit 2024-04-16 21:07:45 +01: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 WebBrowserComponent: Improve native integrations 2024-04-16 17:43:21 +01:00
juce_NSViewFrameWatcher_mac.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_PushNotifications_android.cpp Accessibility: Add AccessibilityHandler::postSystemNotification() function for posting an OS-specific accessible notification 2024-12-04 11:11:21 +00: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 Update licensing information 2024-04-16 11:39:35 +01:00
juce_WebBrowserComponent_android.cpp Versioning: Add the JUCE version number to any internally created threads 2024-09-26 08:10:56 +00:00
juce_WebBrowserComponent_linux.cpp Deprecations: Add ignore deprecation warning macros 2024-11-27 11:07:04 +00:00
juce_WebBrowserComponent_mac.mm WebBrowserComponent (macOS): Catch use after free async callback bug 2025-01-07 11:19:56 +00:00
juce_WebBrowserComponent_windows.cpp Windows: Fix faulty mechanism for creating multiple WebView2 instances serially 2025-01-17 16:29:42 +01:00
juce_XEmbedComponent_linux.cpp Linux: XEmbedComponent: Improve focus transfer handling 2024-04-16 17:43:21 +01:00