mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
wayland backend: wl_event_source_remove on destroy
This commit is contained in:
parent
5885679e33
commit
062d923b0a
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ static void wlr_wl_backend_destroy(struct wlr_backend *_backend) {
|
||||||
list_free(backend->outputs);
|
list_free(backend->outputs);
|
||||||
free(backend->seat_name);
|
free(backend->seat_name);
|
||||||
|
|
||||||
|
wl_event_source_remove(backend->remote_display_src);
|
||||||
wlr_egl_free(&backend->egl);
|
wlr_egl_free(&backend->egl);
|
||||||
if (backend->seat) wl_seat_destroy(backend->seat);
|
if (backend->seat) wl_seat_destroy(backend->seat);
|
||||||
if (backend->shm) wl_shm_destroy(backend->shm);
|
if (backend->shm) wl_shm_destroy(backend->shm);
|
||||||
|
|
Loading…
Reference in a new issue