fix: remove explicit wlr_backend_destroy before wl_display_destroy
This commit is contained in:
parent
6a9b509d77
commit
563b278268
|
|
@ -889,9 +889,6 @@ wl_display_close(void)
|
|||
*
|
||||
* All remaining listeners were removed in the WL_LISTENER_REMOVE block
|
||||
* above, so no dangling signal handlers remain. */
|
||||
wlr_backend_destroy(wl_state.backend);
|
||||
wl_state.backend = NULL;
|
||||
wl_display_destroy_clients(wl_state.display);
|
||||
wl_display_destroy(wl_state.display);
|
||||
unsetenv("WAYLAND_DISPLAY");
|
||||
wl_state.renderer = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue