mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 00:22:25 +00:00
tinywl: destroy wlr_renderer, wlr_allocator and wlr_cursor
Suggested-by: Alexander Bakker <ab@alexbakker.me> Suggested-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
86e1b24d84
commit
ac1232e576
@ -1065,6 +1065,9 @@ int main(int argc, char *argv[]) {
|
|||||||
wl_display_destroy_clients(server.wl_display);
|
wl_display_destroy_clients(server.wl_display);
|
||||||
wlr_scene_node_destroy(&server.scene->tree.node);
|
wlr_scene_node_destroy(&server.scene->tree.node);
|
||||||
wlr_xcursor_manager_destroy(server.cursor_mgr);
|
wlr_xcursor_manager_destroy(server.cursor_mgr);
|
||||||
|
wlr_cursor_destroy(server.cursor);
|
||||||
|
wlr_allocator_destroy(server.allocator);
|
||||||
|
wlr_renderer_destroy(server.renderer);
|
||||||
wlr_backend_destroy(server.backend);
|
wlr_backend_destroy(server.backend);
|
||||||
wl_display_destroy(server.wl_display);
|
wl_display_destroy(server.wl_display);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user