Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Object Disposed Exception on OnReceived callback #1199

@BrennanConroy

Description

@BrennanConroy
fail: Microsoft.AspNetCore.Sockets.Client.HttpConnection[19]
      12/11/2017 10:30:05: Connection Id (null): An exception was thrown from the 'OnReceived' callback
System.ObjectDisposedException: Cannot access a disposed object.
   at System.Threading.TimerQueueTimer.Change(UInt32 dueTime, UInt32 period)
   at System.Threading.Timer.Change(TimeSpan dueTime, TimeSpan period)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.ResetTimeoutTimer() in C:\Github\SignalR\src\Microsoft.AspNetCore.SignalR.Client.Core\HubConnection.cs:line 104
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.<OnDataReceivedAsync>d__40.MoveNext() in C:\Github\SignalR\src\Microsoft.AspNetCore.SignalR.Client.Core\HubConnection.cs:line 332
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.AspNetCore.Sockets.Client.HttpConnection.<>c__DisplayClass45_0.<<ReceiveAsync>b__0>d.MoveNext() in C:\Github\SignalR\src\Microsoft.AspNetCore.Sockets.Client.Http\HttpConnection.cs:line 377

@anurse

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions