eventsource icon indicating copy to clipboard operation
eventsource copied to clipboard

After call stream.Close(), panic: send on closed channel

Open debugsucks opened this issue 7 years ago • 1 comments

Error line: stream.Errors <- err; in receiveEvents() in stream.go.

In go multi-threading environment, it's possible one thread runs to stream.Errors <- err; Before running this line, close(stream.Errors); is called in stream.Close()

debugsucks avatar Sep 25 '18 00:09 debugsucks

Do you have a reproducible test case, by any chance?

perpetual-hydrofoil avatar May 16 '19 21:05 perpetual-hydrofoil