mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 16:50:27 +00:00
Flush the buffered io
This commit is contained in:
@@ -55,6 +55,8 @@ func (w *Wfile) Close() error {
|
||||
var err error
|
||||
err = nil
|
||||
|
||||
w.fw.Flush()
|
||||
|
||||
if w.compressed {
|
||||
err = w.gf.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user