From eeb09a149485147abb65edf01c4fee8a5257a637 Mon Sep 17 00:00:00 2001 From: Leonid Bugaev Date: Thu, 2 Aug 2018 21:42:45 +0500 Subject: [PATCH] Merge --- output_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output_file.go b/output_file.go index 26bbc0d..760715c 100644 --- a/output_file.go +++ b/output_file.go @@ -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()) } }