aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Server.c2
1 files changed, 1 insertions, 1 deletions
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;
}