1
0
Fork 0
forked from wry/wry

all: fix memory leaks

This commit is contained in:
Julian Orth 2022-05-18 22:42:36 +02:00
parent 56e3eee629
commit e5c0916a25
15 changed files with 147 additions and 54 deletions

View file

@ -34,6 +34,7 @@ impl DisplayNode {
pub fn clear(&self) {
self.outputs.clear();
self.seat_state.clear();
}
pub fn update_extents(&self) {

View file

@ -57,6 +57,7 @@ impl OutputNode {
for workspace in workspaces {
workspace.clear();
}
self.render_data.borrow_mut().titles.clear();
}
pub fn on_spaces_changed(self: &Rc<Self>) {