Commit graph

6 commits

Author SHA1 Message Date
13b6eeaa22
core/reloader: null generation ref in reloadables on destruction
On the post-reload reloadable initialzation path, a timer is used to
delay reload(). This change fixes a UAF when switching generations
while that timer is running.
2024-08-30 16:29:59 -07:00
5040f3796c
core/reloader: delay post-reload reload hooks
Ensures onReload runs after Component.onCompleted.
2024-08-18 19:54:36 -07:00
c758421af6
core/reloader: fix Reloadable::onReload being called multiple times
onReload was called multiple times due to Reloadable::reloadRecursive
calling onReload instead of reload, which didn't set reloadComplete.
This allowed the componentComplete fallback to call reload later.
2024-07-11 01:43:54 -07:00
6eb68d2cd7
core/reloader: fix late creation of Reloadable types 2024-04-19 15:45:07 -07:00
f45d298b66
feat(socket): add SocketServer and Socket.write 2024-03-03 01:26:43 -08:00
c6dde9ca9d
refactor(wayland): seperate cmake files for modularity 2024-02-19 00:52:03 -08:00
Renamed from src/cpp/reload.cpp (Browse further)