Fix: remove unused distroy function

This commit is contained in:
eight 2018-11-07 11:25:31 +08:00
parent 8bb11a8458
commit 21a7ddab1b

View File

@ -188,7 +188,6 @@ const cmFactory = (() => {
cm.lastActive = Date.now(); cm.lastActive = Date.now();
}); });
editors.add(cm); editors.add(cm);
cm.distroy = () => editors.delete(cm);
return cm; return cm;
} }