mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
* fix(v2/linux): fix crash on panic in JS-bound Go methods WebKit2GTK installs signal handlers after gtk_main() starts, overriding our SA_ONSTACK fix. This causes Go panics (e.g., nil pointer dereference) in JS-bound methods to crash with 'non-Go code set up signal handler without SA_ONSTACK flag'. Fix by deferring signal handler installation via g_idle_add() to run after GTK main loop starts, ensuring we fix handlers AFTER WebKit has installed its own. Fixes #3965 * docs: add changelog entry for Linux signal handler fix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| browser.go | ||
| calloc.go | ||
| clipboard.go | ||
| dialog.go | ||
| frontend.go | ||
| gtk.go | ||
| invoke.go | ||
| keys.go | ||
| menu.go | ||
| screen.go | ||
| single_instance.go | ||
| webkit2.go | ||
| window.c | ||
| window.go | ||
| window.h | ||