Merge pull request #532 from Timidger/bugfix/fix-examples-segfaulting

Don't destroy backend in compositor_fini
This commit is contained in:
emersion 2017-12-28 18:03:58 +01:00 committed by GitHub
commit 0fbf1a0755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
} }