mirror of
https://github.com/Codiad/Codiad.git
synced 2026-03-13 12:38:01 +01:00
Fix Issue#41 resulting from a reference to active session being returned even after closing all the editor instances
This commit is contained in:
@@ -75,6 +75,7 @@ var editor = {
|
||||
exterminate: function(){
|
||||
$('#editor-region').html('').append($("<div>").attr('id', 'editor'));
|
||||
this.instances = [];
|
||||
this.active_instance = null;
|
||||
},
|
||||
|
||||
remove_session: function(session, replacement_session){
|
||||
|
||||
Reference in New Issue
Block a user