We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01200a3 commit 8b872c1Copy full SHA for 8b872c1
miou/tests/fuzz.ml
@@ -155,7 +155,7 @@ let run_client ~to_client:actions cfg addr =
155
let fd = Miou_unix.of_file_descr ~non_blocking:true socket in
156
let tls = Tls_miou_unix.client_of_fd cfg fd in
157
let finally () =
158
- inhibit (fun () -> Miou_unix.close (Tls_miou_unix.file_descr tls))
+ inhibit (fun () -> Unix.close socket)
159
in
160
Fun.protect ~finally @@ fun () -> run ~role:"client" actions tls
161
0 commit comments