aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-25 00:26:32 -0500
committerGitHub <noreply@github.com>2018-02-25 00:26:32 -0500
commit7da653bbb4569d41ce1a46c97e3b10c675f73741 (patch)
tree70551930342763f15818fc2fbadf24f601a3b736
parentf5260361c807f4bd7fd77eda19bf1c914ffafb48 (diff)
parent721e4ec55f435e603bdd6461f6016e442c233e1f (diff)
Merge pull request #669 from acrisci/headless-output-frame-timer
destroy frame timer in headless output
-rw-r--r--backend/headless/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index ba4a094e..6ce8fc35 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -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);
}