mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
server: release all the resources on exit
Release all the resources including wlr_allocator, wlr_renderer, wlr_backend and wlr_scene. This makes it a lot easier to detect memory leaks with ASAN. On wlroots side, the commit ce615a44 needs to be reverted to detect memory leaks with EGL renderer.
This commit is contained in:
parent
71629741d6
commit
eaf11face6
2 changed files with 11 additions and 11 deletions
|
|
@ -228,11 +228,12 @@ main(int argc, char *argv[])
|
|||
|
||||
session_shutdown(&server);
|
||||
|
||||
server_finish(&server);
|
||||
|
||||
menu_finish(&server);
|
||||
theme_finish(&theme);
|
||||
rcxml_finish();
|
||||
font_finish();
|
||||
|
||||
server_finish(&server);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue