File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -963,26 +963,26 @@ module Connection (Mutex : Mutex) = struct
963963 in
964964 let wrap_conn f =
965965 Fun. protect
966- ~finally: (fun _ -> Mutex. unlock conn_mtx)
967- (fun _ ->
966+ ~finally: (fun () -> Mutex. unlock conn_mtx)
967+ (fun () ->
968968 Mutex. lock conn_mtx;
969969 check_finished () ;
970970 f my_conn)
971971 in
972972 let wrap_cancel f =
973973 Fun. protect
974- ~finally: (fun _ -> Mutex. unlock cancel_mtx)
975- (fun _ ->
974+ ~finally: (fun () -> Mutex. unlock cancel_mtx)
975+ (fun () ->
976976 Mutex. lock cancel_mtx;
977977 check_finished () ;
978978 f my_conn)
979979 in
980980 let wrap_both f =
981981 Fun. protect
982- ~finally: (fun _ ->
982+ ~finally: (fun () ->
983983 Mutex. unlock cancel_mtx;
984984 Mutex. unlock conn_mtx)
985- (fun _ ->
985+ (fun () ->
986986 Mutex. lock conn_mtx;
987987 Mutex. lock cancel_mtx;
988988 check_finished () ;
You can’t perform that action at this time.
0 commit comments