]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Interpret signal marks the request as done
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 6 Apr 2021 00:38:29 +0000 (01:38 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 6 Apr 2021 00:38:29 +0000 (01:38 +0100)
src/lib/unlang/parallel.c

index 8e06c2ed7a0c11f7495d96965114652dc487f72e..4d3a4796f85defd1b99dc81106172ebee7c22c54 100644 (file)
@@ -54,14 +54,13 @@ static inline CC_HINT(always_inline) void unlang_parallel_cancel_child(unlang_pa
        case CHILD_RUNNABLE:    /* Don't check runnable_id, may be yielded */
                /*
                 *      Signal the child to stop
+                *
+                *      The signal function cleans up the request
+                *      and signals anything that was tracking it
+                *      that it's now complete.
                 */
                unlang_interpret_signal(child, FR_SIGNAL_CANCEL);
 
-               /*
-                *      Remove it from the runnable heap
-                */
-               unlang_interpret_request_done(child);
-
                /*
                 *      Free it.
                 */