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

This commit is contained in:
Manos Pitsidianakis 2019-04-06 01:42:23 +03:00
parent 6b3c4d57d6
commit d9a3b03e2b
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710

View File

@ -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 */