summaryrefslogtreecommitdiff
path: root/src/platform/wayland/protocols/viewporter-protocol.c
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-13 13:14:28 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-13 13:14:28 +0300
commit71091ca35176f62469311fbf02f6e9333b5f6f0b (patch)
tree4e804e60338b99556d05ad3d50680e54e912cb89 /src/platform/wayland/protocols/viewporter-protocol.c
parentf6a42623ec1e3bc718ae685ddbb0be118364121e (diff)
fix(app): free app surfaces only when no callback runs
app_runner_unregister_surface freed the runner's entry at once. A frame or event callback that destroyed its own surface returned into code that still read that entry: app_runner_surface_draw read as->pacing, and the input loop read as->surface and as->next. yasl-app-test hit this under ASan. Unregister now only clears the entry's surface. The run loop frees dead entries before each iteration and at shutdown, when no callback runs. The unused frame_in_progress flag is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'src/platform/wayland/protocols/viewporter-protocol.c')
0 files changed, 0 insertions, 0 deletions