From 3a9fce4dc6abfb8a848acc95a6abe9d2250d51d4 Mon Sep 17 00:00:00 2001 From: goodale Date: Mon, 3 May 2004 16:02:27 +0000 Subject: Change to using the terminate_next parameter when terminating the simulation rather than calling CCTK_Exit. Fixes CactusConnect/1616. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@198 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- src/Server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.c b/src/Server.c index 4f7a9b4..19ca3f5 100644 --- a/src/Server.c +++ b/src/Server.c @@ -284,7 +284,7 @@ int HTTP_UpdateState(cGH *cctkGH, httpState *state) @@*/ int HTTP_Terminate(cGH *cctkGH) { - CCTK_Exit(cctkGH, 0); + HTTP_SteerQueue("Cactus","terminate_next","yes"); return 0; } -- cgit v1.2.3