diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-10-09 01:16:35 -0300 |
|---|---|---|
| committer | Marcos Magueta <maguetamarcos@gmail.com> | 2026-10-09 01:16:35 -0300 |
| commit | 254d106c92dcabcdeb83a5d0141deca22ffb79de (patch) | |
| tree | c99478aed6730365fcdd907b7bd777e3b7e2237a /lib/kernel/Source.ml | |
| parent | 4896005e5d156e8a590b12946a54507daa895686 (diff) | |
| download | RNT-254d106c92dcabcdeb83a5d0141deca22ffb79de.tar.gz RNT-254d106c92dcabcdeb83a5d0141deca22ffb79de.zip | |
admission protocol for multigroup denial checks
Diffstat (limited to '')
| -rw-r--r-- | lib/kernel/Source.ml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/kernel/Source.ml b/lib/kernel/Source.ml index 16d2b04..f81499c 100644 --- a/lib/kernel/Source.ml +++ b/lib/kernel/Source.ml @@ -74,9 +74,7 @@ let bind root ~within evaluator program = (fun directory -> Path.lookup directory Path.(language @/ this)) |> Result.map_error (fun _ -> Error.no_evaluator evaluator) in - Fun.protect - ~finally:(fun () -> Protocols.Handle.release found) - (fun () -> + Protocols.Handle.releasing found (fun () -> let* found = Protocols.Evaluator.require found in Protocols.Evaluator.invoke found program ~within ) |
