Fix: remove unused distroy function
This commit is contained in:
parent
8bb11a8458
commit
21a7ddab1b
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user