melib: create new threadnode if it's missing inside rebuild_thread

memfd
Manos Pitsidianakis 6 years ago
parent 6b3c4d57d6
commit d9a3b03e2b
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

@ -973,7 +973,7 @@ impl Threads {
node_build(tree, id, &mut self.thread_nodes, 1, collection); node_build(tree, id, &mut self.thread_nodes, 1, collection);
return; return;
} }
unreachable!(); tree.push(ThreadTree::new(id));
} }
/* Trace path back to root ThreadNode */ /* Trace path back to root ThreadNode */

Loading…
Cancel
Save