Browse Source

Cleanups.

Mark Sibly 9 years ago
parent
commit
1fa87a1845
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/ted2/mainwindow.monkey2

+ 2 - 5
src/ted2/mainwindow.monkey2

@@ -1164,12 +1164,9 @@ Class MainWindowInstance Extends Window
 
 
 		_openDocs.Remove( doc )
 		_openDocs.Remove( doc )
 		
 		
-		App.Idle+=Lambda()
-		
-			doc.Close()
+		doc.Close()
 			
 			
-			If IsTmpPath( doc.Path ) DeleteFile( doc.Path )
-		End
+		If IsTmpPath( doc.Path ) DeleteFile( doc.Path )
 		
 		
 		If doc=_lockedDoc _lockedDoc=Null
 		If doc=_lockedDoc _lockedDoc=Null