further work on auto save

This commit is contained in:
Manindra Moharana
2014-01-11 21:34:28 +05:30
parent 31f0963724
commit 3730031c25
3 changed files with 17 additions and 8 deletions

View File

@@ -331,7 +331,6 @@ public class DebugEditor extends JavaEditor implements ActionListener {
*/
@Override
public void dispose() {
autosaver.shutDown();
//System.out.println("window dispose");
// quit running debug session
dbg.stopDebug();
@@ -345,6 +344,7 @@ public class DebugEditor extends JavaEditor implements ActionListener {
// Added temporarily to dump error log. TODO: Remove this later
public void internalCloseRunner(){
if(ExperimentalMode.errorLogsEnabled) writeErrorsToFile();
autosaver.stop();
super.internalCloseRunner();
}