Merge pull request #669 from acrisci/headless-output-frame-timer

destroy frame timer in headless output
This commit is contained in:
Drew DeVault 2018-02-25 00:26:32 -05:00 committed by GitHub
commit 7da653bbb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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_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);
} }