`OnDisconnect` will not be triggered when using Azure AD
terencefan opened this issue · comments
Terence Fan commented
The syncTimer
in ServiceConnectionBase.cs
can be disposed unexpectedly when getting Azure AD token fails, which causes the syncTimer?.Stop()
throws an ObjectDisposedException.
This exception then prevents the CleanupClientConnections()
from being executed, results in the missing of OnDisconnect
events.
The next version of the SDK will include a retry mechanism.