Files
kicad-source-mirror/common
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
..
2026-03-11 15:36:33 -07:00
2026-03-12 09:33:59 -07:00
2026-02-15 17:20:56 -08:00
2026-03-11 15:27:29 -04:00
2026-01-08 11:54:19 -08:00
2026-02-14 09:43:23 -05:00
2026-02-25 19:03:19 +00:00
2026-03-12 09:33:59 -07:00
2025-12-02 16:01:42 -08:00
2025-08-02 22:04:53 +01:00
2026-03-15 22:02:55 -04:00
2025-07-23 17:36:51 -07:00
2025-12-15 16:38:43 +00:00
2026-01-19 14:20:29 +00:00
2025-09-04 14:57:16 -07:00
2025-12-15 16:38:43 +00:00
2026-02-03 13:26:55 -08:00
2025-10-11 15:44:54 -07:00
2026-02-02 14:59:07 +00:00
2025-06-09 16:15:35 -04:00
2025-10-15 18:58:12 +01:00
2026-01-05 17:47:39 -08:00
2025-10-06 15:06:39 +01:00
2026-01-05 17:47:39 -08:00
2025-01-14 15:25:05 -05:00
2025-03-25 13:09:14 +00:00
2025-12-31 17:05:44 -08:00
2025-05-23 12:15:03 +01:00
2026-02-05 12:09:51 -08:00