mirror of
https://github.com/fmang/opustags.git
synced 2025-01-16 05:03:13 +01:00
really close the files before moving them
This commit is contained in:
parent
e22a1d381a
commit
cdd591c0c1
@ -389,8 +389,8 @@ ot::status ot::run(ot::options& opt)
|
||||
/* delete reader and writer before closing the files */
|
||||
}
|
||||
|
||||
input.release();
|
||||
output.release();
|
||||
input.reset();
|
||||
output.reset();
|
||||
|
||||
if (rc != ot::status::ok) {
|
||||
if (!opt.path_out.empty() && opt.path_out != "-")
|
||||
|
Loading…
x
Reference in New Issue
Block a user