mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-10 01:24:41 +00:00
Flush the buffered io
This commit is contained in:
1 parent
3e1f88b37b
commit
1a08ad4254
1 file changed
+2
@@ -55,6 +55,8 @@ func (w *Wfile) Close() error {
|
|||||||
var err error
|
var err error
|
||||||
err = nil
|
err = nil
|
||||||
|
|
||||||
|
w.fw.Flush()
|
||||||
|
|
||||||
if w.compressed {
|
if w.compressed {
|
||||||
err = w.gf.Close()
|
err = w.gf.Close()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user