Merge pull request #669 from acrisci/headless-output-frame-timer
destroy frame timer in headless output
This commit is contained in:
commit
7da653bbb4
|
@ -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…
Reference in New Issue