From: mfranz Date: Sat, 27 Oct 2007 19:13:42 +0000 (+0000) Subject: re-active commented out "delete". Doesn't seem to crash anymore. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b303db13e30211ff3428df303fcbe9513215f6ef;p=flightgear.git re-active commented out "delete". Doesn't seem to crash anymore. --- diff --git a/src/Network/httpd.cxx b/src/Network/httpd.cxx index e188b4909..cdc4dc3dc 100644 --- a/src/Network/httpd.cxx +++ b/src/Network/httpd.cxx @@ -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;