Listen to display destroy in session

It's not the backend's responsibility to destroy the session anymore.
This commit is contained in:
emersion 2017-12-08 11:17:56 +01:00
parent e30b943fbd
commit 6001235b04
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 14 additions and 2 deletions

View file

@ -35,7 +35,6 @@ static void multi_backend_destroy(struct wlr_backend *_backend) {
wlr_backend_destroy(sub->backend);
free(sub);
}
wlr_session_destroy(backend->session);
free(backend);
}