remove frame timer from headless output

This commit is contained in:
Tony Crisci 2018-02-24 22:32:57 -05:00
parent 9dc868a27f
commit 721e4ec55f
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ static void output_destroy(struct wlr_output *wlr_output) {
wl_list_remove(&output->link);
wl_event_source_remove(output->frame_timer);
eglDestroySurface(output->backend->egl.display, output->egl_surface);
free(output);
}