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-03 11:33:10 -08:00
2026-01-12 21:42:45 -08:00
2025-09-24 18:43:47 -07:00
2026-01-30 01:47:11 +03:00
2025-01-01 14:12:04 -08:00
2025-11-04 12:45:44 +00:00
2026-01-24 06:44:51 +03:00
2026-02-02 14:59:07 +00:00
2025-11-27 16:23:34 -05:00
2026-03-18 10:12:43 -04:00
2026-01-15 10:45:33 -08:00
2026-02-24 15:56:50 +00:00
2025-01-16 11:50:08 -05:00
2026-01-23 13:48:29 -05:00
2026-01-23 13:48:29 -05:00
2026-02-14 09:49:55 -05:00
2025-08-23 06:20:00 -07:00
2025-08-23 06:20:00 -07:00
2025-01-01 14:12:04 -08:00
2025-10-15 22:18:51 -04:00
2025-03-21 13:49:07 +00:00
2025-07-15 08:56:51 -07:00
2026-01-29 12:51:47 -08:00
2026-01-03 08:06:16 +03:00
2025-09-01 21:47:14 -07:00
2026-02-02 20:33:08 -05:00
2026-02-05 12:14:12 -08:00
2025-10-31 19:59:35 +00:00
2025-10-06 13:57:41 +02:00
2026-03-09 23:55:35 -04:00
2025-01-01 14:12:04 -08:00
2026-01-07 17:17:18 +05:00
2025-12-14 21:51:21 +03:00
2025-07-13 15:25:10 +01:00
2025-12-30 16:13:38 -08:00
2026-01-08 08:38:27 -08:00
2026-01-07 08:11:19 +05:00
2025-11-21 12:49:48 -05:00
2026-01-12 21:42:45 -08:00
2025-03-11 10:08:04 +00:00
2026-02-26 09:51:52 -08:00
2026-03-18 10:12:43 -04:00
2025-11-27 16:23:34 -05:00
2025-11-08 17:10:26 +00:00
2025-01-01 14:12:04 -08:00
2026-02-13 19:54:46 -08:00
2026-01-05 17:47:39 -08:00
2025-12-03 13:57:57 +00:00
2025-04-26 22:15:30 +01:00
2025-04-26 22:15:30 +01:00
2025-04-26 22:15:30 +01:00
2026-02-10 21:21:43 -08:00
2025-08-02 22:56:52 +01:00
2025-04-17 14:37:16 +01:00
2025-04-17 14:37:16 +01:00
2025-01-16 11:50:08 -05:00
2026-03-17 13:16:06 +00:00
2025-08-14 11:33:25 +01:00
2025-10-25 18:54:46 +01:00
2026-01-02 03:53:30 +05:00
2026-01-02 06:40:47 +03:00
2026-03-18 13:26:58 -07:00
2026-01-25 12:42:13 -05:00
2025-01-01 14:12:04 -08:00
2026-01-08 03:46:40 +03:00
2025-01-01 14:12:04 -08:00
2026-02-18 13:20:13 -08:00
2025-01-01 14:12:04 -08:00
2025-01-16 11:50:08 -05:00
2025-01-01 14:12:04 -08:00
2025-01-01 14:12:04 -08:00
2025-01-01 14:12:04 -08:00
2026-01-29 08:03:51 -08:00
2025-10-31 19:59:35 +00:00
2025-12-29 16:19:11 -08:00
2025-08-09 21:52:08 +01:00
2025-08-09 21:52:08 +01:00
2025-08-09 19:11:27 +01:00
2026-01-29 12:43:20 -08:00
2025-10-20 21:14:24 +01:00
2026-01-04 09:14:28 -05:00
2025-01-01 14:12:04 -08:00
2025-01-01 14:12:04 -08:00
2026-03-03 11:33:10 -08:00
2025-01-01 14:12:04 -08:00
2025-01-01 14:12:04 -08:00
2026-02-14 20:00:54 +00:00