5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 19:31:20 +08:00
wails/v2/internal/frontend
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
..
assetserver bugfix: correct typo 2022-05-10 21:56:19 -05:00
desktop [v2, linux] Improve switching to main thread for callbacks (#1392) 2022-05-31 20:28:37 +10:00
devserver bugfix: correct typo 2022-05-10 21:56:19 -05:00
dispatcher Add Environment and WindowReloadApp calls to runtime. Updated default templates. 2022-04-20 20:28:41 +10:00
runtime update runtime.d.ts & templates (#1421) 2022-05-24 21:20:53 +02:00
calls.go [windows-x] Support calling bound methods 2021-08-13 23:44:24 +10:00
dispatcher.go [windows-x] Update events system to accommodate dev build 2021-08-25 20:54:05 +10:00
events.go [windows-x] Update events system to accommodate dev build 2021-08-25 20:54:05 +10:00
frontend.go Add Environment and WindowReloadApp calls to runtime. Updated default templates. 2022-04-20 20:28:41 +10:00