diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 13:14:28 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-13 13:14:28 +0300 |
| commit | 71091ca35176f62469311fbf02f6e9333b5f6f0b (patch) | |
| tree | 4e804e60338b99556d05ad3d50680e54e912cb89 /src/wayland/protocols/meson.build | |
| parent | f6a42623ec1e3bc718ae685ddbb0be118364121e (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/wayland/protocols/meson.build')
0 files changed, 0 insertions, 0 deletions
