aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEstevan Castilho <tevo@riajuu.net>2026-10-10 01:09:17 +0000
committerEstevan Castilho <tevo@riajuu.net>2026-10-10 01:09:17 +0000
commit9be5137143177492e82dc25e6dbd3b82e3aa7e5d (patch)
treed2206c6c67a395cc1e6f3b1e47c2da812a83bf96 /test
parentbd152dc4311a117f125916e1f75cb5ce02752630 (diff)
downloadRNT-9be5137143177492e82dc25e6dbd3b82e3aa7e5d.tar.gz
RNT-9be5137143177492e82dc25e6dbd3b82e3aa7e5d.zip
Make namespaces take ownership of the handles it is given
Diffstat (limited to '')
-rw-r--r--test/unit/kernel/Session.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/kernel/Session.ml b/test/unit/kernel/Session.ml
index 2548629..73e7c49 100644
--- a/test/unit/kernel/Session.ml
+++ b/test/unit/kernel/Session.ml
@@ -25,7 +25,7 @@ module Make (S : Abstract.Storage.STORAGE) (C : Helpers.Storage.CONFIGURATOR) =
let* _ = update root ("branch" @/ this) "master" None (Some branch) in
let* tip = address branch in
let session = Session.make conn {Protocols.Session.snapshot= tip} in
- let* _ = update root ("session" @/ this) "client" None (Some session) in
+ let* _ = update root ("session" @/ this) "client" None (Protocols.Handle.copy session) in
let library = "session" @/ "client" @/ "branch" @/ "multigroup" @/ "library" @/ this in
let before = finds root library in
let* multigroup = M.make conn in