File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -967,7 +967,8 @@ module Connection (Mutex : Mutex) = struct
967967 in
968968 let conn_mtx = Mutex. create () in
969969 let cancel_mtx = Mutex. create () in
970- let finished = ref false in (* bool becomes true after deallocation *)
970+ let finished = ref false in
971+ (* bool becomes true after deallocation *)
971972 let check_null () =
972973 if ! finished then
973974 failwith " Postgresql.check_null: connection already finished"
@@ -1031,7 +1032,10 @@ module Connection (Mutex : Mutex) = struct
10311032 in
10321033
10331034 object (self (* Main routines *) )
1034- method finish = wrap_both (fun c -> Stub. finish c; finished := true )
1035+ method finish =
1036+ wrap_both (fun c ->
1037+ Stub. finish c;
1038+ finished := true )
10351039
10361040 method try_reset =
10371041 wrap_conn (fun conn ->
You can’t perform that action at this time.
0 commit comments