Remove display_destroy on multi-backend destroy

This commit is contained in:
Timidger 2017-12-28 10:54:30 -06:00
parent bb24895a2b
commit 1478ef3202
No known key found for this signature in database
GPG Key ID: 42EF7ECE5FEF1D17
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ static void subbackend_state_destroy(struct subbackend_state *sub) {
static void multi_backend_destroy(struct wlr_backend *wlr_backend) { static void multi_backend_destroy(struct wlr_backend *wlr_backend) {
struct wlr_multi_backend *backend = (struct wlr_multi_backend *)wlr_backend; struct wlr_multi_backend *backend = (struct wlr_multi_backend *)wlr_backend;
wl_list_remove(&backend->display_destroy.link);
struct subbackend_state *sub, *next; struct subbackend_state *sub, *next;
wl_list_for_each_safe(sub, next, &backend->backends, link) { wl_list_for_each_safe(sub, next, &backend->backends, link) {
wlr_backend_destroy(sub->backend); wlr_backend_destroy(sub->backend);