mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-31 10:17:21 +00:00
Fix "Failed to execute" dialog showing up at times (#1196)
[𝘀𝗽𝗿] initial version Created using spr 1.3.4
This commit is contained in:
parent
36f24b7730
commit
47f9f7621e
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ impl DynamicExecutor {
|
|||
let mut orphans = self.tree.update(proto_network, &self.typing_context)?;
|
||||
core::mem::swap(&mut self.orphaned_nodes, &mut orphans);
|
||||
for node_id in orphans {
|
||||
self.tree.free_node(node_id)
|
||||
if self.orphaned_nodes.contains(&node_id) {
|
||||
self.tree.free_node(node_id)
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue