1
0
Fork 0
forked from wry/wry

tree: never return dummy workspace from ensure_workspace

This commit is contained in:
Julian Orth 2024-09-01 10:04:42 +02:00
parent 3eb539cf3a
commit 76b1a12856

View file

@ -436,7 +436,9 @@ impl OutputNode {
pub fn ensure_workspace(self: &Rc<Self>) -> Rc<WorkspaceNode> {
if let Some(ws) = self.workspace.get() {
return ws;
if !ws.is_dummy {
return ws;
}
}
let name = 'name: {
for i in 1.. {