-
Notifications
You must be signed in to change notification settings - Fork 584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access a disposed object #296
Comments
I also encountered this issue. Have you resolved it now? @anyway2019 @chronoxor |
not yet,i just add try catch block. |
We have a similar case System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.ThrowObjectDisposedException()
at System.Net.Sockets.Socket.Send(ReadOnlySpan`1 buffer, SocketFlags socketFlags, SocketError& errorCode)
at NetCoreServer.TcpSession.Send(ReadOnlySpan`1 buffer) in /src/websocket-server/NetCoreServer/TcpSession.cs:line 283
at NetCoreServer.WsSession.SendBinary(ReadOnlySpan`1 buffer) in /src/websocket-server/NetCoreServer/WsSession.cs:line 74 |
@anyway2019 maybe you want contribute this action?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the env:
the version of NetCoreServer:
the stack trace:
the log is :
it seems the issue that connect event and disconnect envent trigger at same time still exsits in 6.7.0
The text was updated successfully, but these errors were encountered: