Reuse former session of second split. Add destroy function that stops some timeouts.
This commit is contained in:
parent
55328f3690
commit
87003ac4ed
6 changed files with 25 additions and 5 deletions
|
|
@ -1123,6 +1123,10 @@ var Editor =function(renderer, session) {
|
|||
this.session.getUndoManager().redo();
|
||||
};
|
||||
|
||||
this.destroy = function() {
|
||||
this.renderer.destroy();
|
||||
}
|
||||
|
||||
}).call(Editor.prototype);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue