Reuse former session of second split. Add destroy function that stops some timeouts.

This commit is contained in:
Julian Viereck 2011-05-20 23:30:09 +02:00
commit 87003ac4ed
6 changed files with 25 additions and 5 deletions

View file

@ -1123,6 +1123,10 @@ var Editor =function(renderer, session) {
this.session.getUndoManager().redo();
};
this.destroy = function() {
this.renderer.destroy();
}
}).call(Editor.prototype);