mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	missing editor destroy() calls
This commit is contained in:
		@@ -345,6 +345,7 @@
 | 
			
		||||
                    }
 | 
			
		||||
                    expressionEditor.destroy();
 | 
			
		||||
                    testDataEditor.destroy();
 | 
			
		||||
                    testResultEditor.destroy();
 | 
			
		||||
                },
 | 
			
		||||
                show: function() {}
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -602,10 +602,10 @@
 | 
			
		||||
 | 
			
		||||
                },
 | 
			
		||||
                close: function() {
 | 
			
		||||
                    // expressionEditor.destroy();
 | 
			
		||||
                    if (options.onclose) {
 | 
			
		||||
                        options.onclose();
 | 
			
		||||
                    }
 | 
			
		||||
                    expressionEditor.destroy();
 | 
			
		||||
                },
 | 
			
		||||
                show: function() {}
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user