Fix write after close on http response

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan
2015-01-21 15:14:01 -08:00
committed by Stephen J Day
parent f1bc0376b8
commit 12d83e727d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -111,6 +111,7 @@ func (o *Output) Close() error {
}
}
o.tasks.Wait()
o.dests = nil
return firstErr
}