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:
parent
bb24895a2b
commit
56505c2635
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue