fix reference error on deleting tab

pull/2232/head
Hiroyasu Nishiyama 2019-07-15 11:23:27 +09:00
parent 6ab520984c
commit 25a27733b9
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ RED.nodes = (function() {
}
function removeWorkspace(id) {
delete workspaces[id];
delete nodeTabMap[ws.id];
delete nodeTabMap[id];
workspacesOrder.splice(workspacesOrder.indexOf(id),1);
var removedNodes = [];