all: fix memory leaks
This commit is contained in:
parent
56e3eee629
commit
e5c0916a25
15 changed files with 147 additions and 54 deletions
|
|
@ -34,6 +34,7 @@ impl DisplayNode {
|
|||
|
||||
pub fn clear(&self) {
|
||||
self.outputs.clear();
|
||||
self.seat_state.clear();
|
||||
}
|
||||
|
||||
pub fn update_extents(&self) {
|
||||
|
|
|
|||
|
|
@ -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>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue