From b303db13e30211ff3428df303fcbe9513215f6ef Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 27 Oct 2007 19:13:42 +0000 Subject: [PATCH] re-active commented out "delete". Doesn't seem to crash anymore. --- src/Network/httpd.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.39.5