destroy renderer and allocator in cleanup()
This commit is contained in:
parent
fc8b2a8335
commit
c13d948ea9
1 changed files with 2 additions and 0 deletions
2
dwl.c
2
dwl.c
|
@ -730,6 +730,8 @@ cleanup(void)
|
|||
waitpid(child_pid, NULL, 0);
|
||||
}
|
||||
wlr_backend_destroy(backend);
|
||||
wlr_renderer_destroy(drw);
|
||||
wlr_allocator_destroy(alloc);
|
||||
wlr_xcursor_manager_destroy(cursor_mgr);
|
||||
wlr_cursor_destroy(cursor);
|
||||
wlr_output_layout_destroy(output_layout);
|
||||
|
|
Loading…
Reference in a new issue