[rkward-cvs] SF.net SVN: rkward:[3391] trunk/rkward/rkward/rbackend/rinterface.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Jan 26 15:23:03 UTC 2011


Revision: 3391
          http://rkward.svn.sourceforge.net/rkward/?rev=3391&view=rev
Author:   tfry
Date:     2011-01-26 15:23:03 +0000 (Wed, 26 Jan 2011)

Log Message:
-----------
On Windows the backend is a bit quicker to exit. So consider it dead, as soon as the QuitCommand has been sent.

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rinterface.cpp

Modified: trunk/rkward/rkward/rbackend/rinterface.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rinterface.cpp	2011-01-26 15:10:43 UTC (rev 3390)
+++ trunk/rkward/rkward/rbackend/rinterface.cpp	2011-01-26 15:23:03 UTC (rev 3391)
@@ -202,8 +202,6 @@
 		}
 	#endif
 
-	if (command->type () & RCommand::QuitCommand) backend_dead = true;
-
 	if (command->status & RCommand::Canceled) {
 		command->status |= RCommand::HasError;
 		ROutput *out = new ROutput;
@@ -244,6 +242,8 @@
 				command_logfile.write ("\n");
 			}
 		}
+
+		if (command->type () & RCommand::QuitCommand) backend_dead = true;
 	}
 
 	command_request->command = proxy;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list