Revision: 40789
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40789&view=rev
Author:   davidloman
Date:     2010-09-29 12:05:38 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
Clean up logging a bit.

Modified Paths:
--------------
    rt^3/trunk/src/GS/geoserv.cxx

Modified: rt^3/trunk/src/GS/geoserv.cxx
===================================================================
--- rt^3/trunk/src/GS/geoserv.cxx       2010-09-29 11:55:01 UTC (rev 40788)
+++ rt^3/trunk/src/GS/geoserv.cxx       2010-09-29 12:05:38 UTC (rev 40789)
@@ -77,9 +77,13 @@
     GeometryService* gs = new GeometryService(localNodename, port);
 
     if (daemon){
-       gs->start();
+       gs->start(); //will exit
+    } else {
+       gs->run(); //blocks
     }
 
 
+       log->logINFO("geoserv", "Exiting...");
+    delete gs;
     return 0;
 }


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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to