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.
This commit is contained in:
Timidger 2017-12-27 18:10:38 -06:00
parent bb24895a2b
commit 56505c2635
No known key found for this signature in database
GPG key ID: 42EF7ECE5FEF1D17

View file

@ -494,6 +494,5 @@ void compositor_init(struct compositor_state *state) {
} }
void compositor_fini(struct compositor_state *state) { void compositor_fini(struct compositor_state *state) {
wlr_backend_destroy(state->backend);
wl_display_destroy(state->display); wl_display_destroy(state->display);
} }