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
1 changed files with 0 additions and 1 deletions

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