-
Notifications
You must be signed in to change notification settings - Fork 22
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
System.NullReferenceException In WriteRequest.Release() #57
Comments
just to clarify, are the write requests submitted from another thread? |
or within the loop thread. |
write requests are submitted from another thread |
That is the reason you get this, you have to submit the writes from the same loop thread; |
If you want to constantly sending data, you have to run loop in a dedicated thread and post your requests to the loop thread. Again, you can use Async handle to wake up the loop. Similar to |
thanks |
Again, please try EventLoop. If you have any issue, please feel free to provide feedback I can improve on. |
NetUV 0.1.125.0
Use NetUV as tcp server ,it happed when read and write lot of "packet".
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=NetUV.Core
StackTrace:
My loop is running in a standalone thread,and write requests are other thread.
The text was updated successfully, but these errors were encountered: