Files
kicad-source-mirror/common/widgets
Seth Hillbrand e25cb1354d webview: defer handler init when main loop is mid-yield
AddScriptMessageHandler internally calls RunScript, which
yields the event loop. When this fires from a timer during
a wxProgressDialog yield (e.g., schematic loading checkpoint),
the reentrant yield crashes WebKit's JSC in sanitizeStackForVM.

The existing guard only checked for non-main event loops but
missed the case where the main loop itself is yielding. Add
IsYielding() to both DoInitHandlers and AddMessageHandler guards
so the timer re-defers until the loop is idle.
2026-03-18 13:26:58 -07:00
..
2025-09-24 18:43:47 -07:00
2026-01-05 17:47:39 -08:00
2025-04-17 14:37:16 +01:00
2025-04-17 14:37:16 +01:00
2026-01-02 03:53:30 +05:00