diff --git a/runtime/src/worker_thread.c b/runtime/src/worker_thread.c index fee4664..a22b215 100644 --- a/runtime/src/worker_thread.c +++ b/runtime/src/worker_thread.c @@ -64,10 +64,6 @@ worker_thread_switch_to_sandbox(struct sandbox *next_sandbox) next_context->variant); arch_context_switch(NULL, next_context); - - if (current_sandbox != NULL && current_sandbox->state == SANDBOX_RETURNED) { - panic("Unexpectedly returned to a sandbox in a RETURNED state\n"); - } } else { /* Set the current sandbox to the next */ assert(next_sandbox != current_sandbox);