Skip to content

Commit

Permalink
Use clear instead of close?
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasdrp committed May 21, 2021
1 parent f6c7181 commit 4048de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ struct
in
match merge_result with
| `Aborted ->
IO.close merge;
IO.clear ~generation ~reopen:false merge;
(`Aborted, Mtime.Span.zero)
| `Index_io io ->
let fan_out = Fan.finalize fan_out in
Expand Down

0 comments on commit 4048de8

Please sign in to comment.