unlang_frame_state_subrequest_t *state;
unlang_stack_frame_t *frame;
+ /*
+ * Run in the same interpreter as the parent
+ */
+ unlang_interpret_set(child, unlang_interpret_get(child->parent));
+
/*
* Push a new subrequest frame onto the stack
*
int unlang_subrequest_child_push_and_detach(request_t *child)
{
+ /*
+ * Run in the same interpreter as the parent
+ */
+ unlang_interpret_set(child, unlang_interpret_get(child->parent));
+
/*
* Ensures the child is setup correctly and adds
* it into the runnable queue of whatever owns