Skip to content
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 Client Socket OnClose #15

Closed
jmmortega opened this issue Oct 5, 2015 · 2 comments
Closed

System.NullReferenceException Client Socket OnClose #15

jmmortega opened this issue Oct 5, 2015 · 2 comments

Comments

@jmmortega
Copy link

When using in mono, get a NullException in OnClose.

private void OnClose(string reason, Exception desc = null)

at Quobject.EngineIoClientDotNet.Client.Socket.OnClose(string reason, Exception desc)

at Quobject.EngineIoClientDotNet.Client.Socket.Close()

at Quobject.SocketIoClientDotNet.Client.Manager.<>c__DisplayClass5.b__2()

at Quobject.EngineIoClientDotNet.Thread.EasyTimer.<>c__DisplayClass1.b__0()

at System.Threading.Tasks.AwaitTaskContinuation.InvokeAction(object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state, bool preserveSyncCtx)

at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, object state, ref Task currentTask)

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Threading.Tasks.AwaitTaskContinuation.m__0(object s)

@trandangninh
Copy link

@jmmortega do you find any solution? i meet same issue here

@mattqs
Copy link
Contributor

mattqs commented Jan 2, 2016

The commit 90dcb58 should fix this problem.

@mattqs mattqs closed this as completed Jan 2, 2016
mattqs added a commit that referenced this issue Jan 3, 2016
System.NullReferenceException Client Socket OnClose #15
System.Collections.Generic.KeyNotFoundException #14
mattqs added a commit to Quobject/SocketIoClientDotNet that referenced this issue Jan 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants