]> git.mxchange.org Git - flightgear.git/commitdiff
re-active commented out "delete". Doesn't seem to crash anymore.
authormfranz <mfranz>
Sat, 27 Oct 2007 19:13:42 +0000 (19:13 +0000)
committermfranz <mfranz>
Sat, 27 Oct 2007 19:13:42 +0000 (19:13 +0000)
src/Network/httpd.cxx

index e188b490934b6cbe41cb04c512fff3153e45a282..cdc4dc3dcbc38615c6452c67723c661a111979ca 100644 (file)
@@ -76,9 +76,7 @@ bool FGHttpd::process() {
 bool FGHttpd::close() {
     SG_LOG( SG_IO, SG_INFO, "closing FGHttpd" );   
 
-    // the following delete causes a seg fault, gdb is not helpful.
-    // delete server;
-
+    delete server;
     set_enabled( false );
 
     return true;