5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 20:03:01 +08:00
wails/v2/internal/frontend/desktop
stffabi 2a0673f99f
[v2, linux] Improve switching to main thread for callbacks (#1392)
Make sure no pointers to the stack are passed to g_idle_add,
because at the time the callback gets executed on the
main thread, the pointer might be invalid.
Go might have reused the stack or grown the stack and the
pointer is invalid.

The concept used on Windows has been ported to Linux.
2022-05-31 20:28:37 +10:00
..
darwin [v2, darwin] Initialize native variables on stack to prevent segfault (#1362) 2022-04-30 06:11:19 +10:00
linux [v2, linux] Improve switching to main thread for callbacks (#1392) 2022-05-31 20:28:37 +10:00
windows Merge pull request #1400 from wailsapp/feature/native-translucency 2022-05-18 18:52:45 +10:00
desktop_darwin.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00
desktop_linux.go [linux] get compiling working 2021-11-13 17:06:48 -08:00
desktop_windows.go [linux] Better Go 1.16 support 2022-01-31 21:21:48 +11:00