[longomatch] Don't try to save the loaded project after a crash. Objects can be in an unrecoverable state and we



commit db5d7efbe8daa74ec799cb78125b14ba636795f7
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Jan 26 16:58:13 2010 +0100

    Don't try to save the loaded project after a crash.
    	Objects can be in an unrecoverable state and we might
    	end saving a corrupt project in the database.

 LongoMatch/Main.cs |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch/Main.cs b/LongoMatch/Main.cs
index 0ca092a..fceee32 100644
--- a/LongoMatch/Main.cs
+++ b/LongoMatch/Main.cs
@@ -206,9 +206,6 @@ namespace LongoMatch
 		}
 
 		private static void ProcessExecutionError(Exception ex) {
-			//Try to save the database before exiting
-			if (MainWindow.OpenedProject() != null)
-				DB.UpdateProject(MainWindow.OpenedProject());
 			string logFile ="LongoMatch-" + DateTime.Now +".log";
 			string message;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]