lumber icon indicating copy to clipboard operation
lumber copied to clipboard

Panic on multiple log.Close() calls

Open jcelliott opened this issue 11 years ago • 0 comments

Calling log.Close() more than once will cause a panic with:

runtime error: close of closed channel

The close method should be safe to call multiple times.

jcelliott avatar Mar 07 '14 00:03 jcelliott