about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-12-14 10:20:42 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-12-14 10:20:42 -0800
commit647cce323fb0180292fd6c2875c9d6fff429a688 (patch)
treec632a90ba354d596847c94caa257dc23e608bf3f
parent1bc0bb7ef9f4c03f8a8977b282af597b0aa37e7a (diff)
downloadmu-647cce323fb0180292fd6c2875c9d6fff429a688.tar.gz
2624 - fix all layers
-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;
     }
   }