about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--036call_reply.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/036call_reply.cc b/036call_reply.cc
index 1fbfc21d..a3bc0855 100644
--- a/036call_reply.cc
+++ b/036call_reply.cc
@@ -27,7 +27,7 @@ case REPLY: {
     trace(9999, "trace") << "reply: decrementing callstack depth from " << Trace_stream->callstack_depth << end();
     --Trace_stream->callstack_depth;
     if (Trace_stream->callstack_depth < 0) {
-      Current_routine->state = COMPLETED;
+      Current_routine->calls.clear();
       goto stop_running_current_routine;
     }
   }