Skip to content

System.NullReferenceException Client Socket OnClose #15

@jmmortega

Description

@jmmortega

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions