aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/Source.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-10-09 01:16:35 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-10-09 01:16:35 -0300
commit254d106c92dcabcdeb83a5d0141deca22ffb79de (patch)
treec99478aed6730365fcdd907b7bd777e3b7e2237a /lib/kernel/Source.ml
parent4896005e5d156e8a590b12946a54507daa895686 (diff)
downloadRNT-254d106c92dcabcdeb83a5d0141deca22ffb79de.tar.gz
RNT-254d106c92dcabcdeb83a5d0141deca22ffb79de.zip
admission protocol for multigroup denial checks
Diffstat (limited to 'lib/kernel/Source.ml')
-rw-r--r--lib/kernel/Source.ml4
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 )