You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that sometimes when my application (which implements the socketio server) is running for some time, I experience a panic which states the following:
panic: send on closed channel
goroutine 6198 [running]:
github.com/njones/socketio/transport.(*Transport).Receive.func1()
.../go/pkg/mod/github.com/njones/[email protected]/transport/transport.go:154 +0x826
created by github.com/njones/socketio/transport.(*Transport).Receive
.../go/pkg/mod/github.com/njones/[email protected]/transport/transport.go:111 +0x76
I use the ServerV4 with PollingTransport.
Is that a known issue?
Even when the application is idle, it happens sometimes and crashes the whole app.
How can I prevent this from happening?
The text was updated successfully, but these errors were encountered:
njones
changed the title
panic: send on closed channel
socket-io: Panic sent on closed channel
Jan 23, 2024
Hi,
I noticed that sometimes when my application (which implements the socketio server) is running for some time, I experience a panic which states the following:
I use the ServerV4 with PollingTransport.
Is that a known issue?
Even when the application is idle, it happens sometimes and crashes the whole app.
How can I prevent this from happening?
The text was updated successfully, but these errors were encountered: