Browse Source

disposes helper in removeHelper() (#28614)

ycw 1 year ago
parent
commit
6255319e48
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/js/Editor.js

+ 1 - 0
editor/js/Editor.js

@@ -469,6 +469,7 @@ Editor.prototype = {
 
 			var helper = this.helpers[ object.id ];
 			helper.parent.remove( helper );
+			helper.dispose();
 
 			delete this.helpers[ object.id ];