Преглед изворни кода

Remove redundant collection.clear() calls.

Maciej Gołaszewski пре 7 година
родитељ
комит
c508be5af4
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      packages/ckeditor5-engine/src/view/document.js

+ 0 - 1
packages/ckeditor5-engine/src/view/document.js

@@ -126,7 +126,6 @@ export default class Document {
 	 */
 	destroy() {
 		this.roots.map( root => root.destroy() );
-		this.roots.clear();
 		this.stopListening();
 	}