beagle r4389 - trunk/beagle/beagled



Author: dbera
Date: Mon Jan 14 00:24:53 2008
New Revision: 4389
URL: http://svn.gnome.org/viewvc/beagle?rev=4389&view=rev

Log:
Mark Server as running before trying to start the webinterface.


Modified:
   trunk/beagle/beagled/Server.cs

Modified: trunk/beagle/beagled/Server.cs
==============================================================================
--- trunk/beagle/beagled/Server.cs	(original)
+++ trunk/beagle/beagled/Server.cs	Mon Jan 14 00:24:53 2008
@@ -726,7 +726,6 @@
 
 		private void Run ()
 		{
-			this.running = true;
 			this.unix_listener.Start ();
 
 			if (! Shutdown.WorkerStart (this, String.Format ("server '{0}'", socket_path)))
@@ -906,6 +905,8 @@
 			if (Shutdown.ShutdownRequested)
 				return;
 
+			this.running = true;
+
 			if (! indexhelper) {
 				Config config = Conf.Get (Conf.Names.NetworkingConfig);
 				webinterface = config.GetOption ("WebInterface", false);



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