aboutsummaryrefslogtreecommitdiff
path: root/examples/support/shared.c
diff options
context:
space:
mode:
authorTimidger <APragmaticPlace@gmail.com>2017-12-27 18:10:38 -0600
committerTimidger <APragmaticPlace@gmail.com>2017-12-28 10:42:57 -0600
commit56505c2635ce1a5fe888170156ed76f69f876608 (patch)
tree37af783fce09e618e981d561581ba6b53eef5828 /examples/support/shared.c
parentbb24895a2b1759ec78ae68bb91d13a98dc3cc9c7 (diff)
Don't destroy backend in compositor_fini
This is already done after the changes in #504, and now just causes a segfault on closing the examples.
Diffstat (limited to 'examples/support/shared.c')
-rw-r--r--examples/support/shared.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/support/shared.c b/examples/support/shared.c
index 811c09a6..f76e4389 100644
--- a/examples/support/shared.c
+++ b/examples/support/shared.c
@@ -494,6 +494,5 @@ void compositor_init(struct compositor_state *state) {
}
void compositor_fini(struct compositor_state *state) {
- wlr_backend_destroy(state->backend);
wl_display_destroy(state->display);
}