mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Merge pull request #669 from acrisci/headless-output-frame-timer
destroy frame timer in headless output
This commit is contained in:
commit
7da653bbb4
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ static void output_destroy(struct wlr_output *wlr_output) {
|
||||||
|
|
||||||
wl_list_remove(&output->link);
|
wl_list_remove(&output->link);
|
||||||
|
|
||||||
|
wl_event_source_remove(output->frame_timer);
|
||||||
|
|
||||||
eglDestroySurface(output->backend->egl.display, output->egl_surface);
|
eglDestroySurface(output->backend->egl.display, output->egl_surface);
|
||||||
free(output);
|
free(output);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue