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
Describe the bug
hi guys!
Stack overflow appears on startup
The reason is that SocketsPacketProvider#OnReceive keeps calling socket?.BeginReceive, and socket?.BeginReceive will eventually go to SocketsPacketProvider#OnReceive, which will get into a dead loop leading to stack overflow.
I'm not sure what's causing the problem, my solution was to change the call to socket?.BeginReceive to asynchronous and it worked fine.
Describe the bug
hi guys!
Stack overflow appears on startup
The reason is that SocketsPacketProvider#OnReceive keeps calling socket?.BeginReceive, and socket?.BeginReceive will eventually go to SocketsPacketProvider#OnReceive, which will get into a dead loop leading to stack overflow.
I'm not sure what's causing the problem, my solution was to change the call to socket?.BeginReceive to asynchronous and it worked fine.
Here are my changes
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: