mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Flush the buffered io
This commit is contained in:
@ -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