tree: never return dummy workspace from ensure_workspace
This commit is contained in:
parent
3eb539cf3a
commit
76b1a12856
1 changed files with 3 additions and 1 deletions
|
|
@ -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.. {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue