This commit is contained in:
Leonid Bugaev
2018-08-02 21:42:45 +05:00
parent 52f4ad03f3
commit eeb09a1494
+1 -1
View File
@@ -262,7 +262,7 @@ func (o *FileOutput) Close() error {
o.file.Close()
if o.config.onClose != nil {
go o.config.onClose(o.file.Name())
o.config.onClose(o.file.Name())
}
}