-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Description
Describe the bug
When the web app shuts down, due to the adhoc configured here :
All the componets that are injected into the default resolver will be disposed.
But the server connections are managed by serviceManager which doesn't dispose them :
azure-signalr/src/Microsoft.Azure.SignalR.AspNet/ServerConnections/ServiceConnectionManager.cs
Line 136 in 53f7d05
{ |
To Reproduce
In the example:
azure-signalr/samples/AspNet.ChatSample/AspNet.ChatSample.SelfHostServer/Program.cs
Line 9 in 53f7d05
class Program |
The server connection is still alive but it will throw exception like "Cannot access a disposed object.Object name: 'LoggerFactory'.""}. when client connect event is triggered.

Metadata
Metadata
Assignees
Labels
No labels