From 251dda36529f1f8e62458a0e8b025dcc9c08ef6c Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Tue, 4 May 2021 09:04:13 +0100 Subject: [PATCH] missing editor destroy() calls --- .../@node-red/editor-client/src/js/ui/editors/expression.js | 1 + .../@node-red/editor-client/src/js/ui/editors/json.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/expression.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/expression.js index 0d6065d84..51bba8159 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/expression.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/expression.js @@ -345,6 +345,7 @@ } expressionEditor.destroy(); testDataEditor.destroy(); + testResultEditor.destroy(); }, show: function() {} } diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/json.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/json.js index 67b5850c4..52ab820ac 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/json.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/json.js @@ -602,10 +602,10 @@ }, close: function() { - // expressionEditor.destroy(); if (options.onclose) { options.onclose(); } + expressionEditor.destroy(); }, show: function() {} }