You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OrleansHubLifetimeManager.Dispose is getting called in my .NET Core 3.1 generic host app after Orleans's Silo.cs has had the following shutdown function called: StopAsync, OnActiveStop OnBecomeActiveStop
and
OnRuntimeInitializeStop
which ends with this final-sounding comment:
// Setting the event should be the last thing we do.
// Do nothing after that!
this.siloTerminatedTask.SetResult(0);
return Task.CompletedTask;
OrleansHubLifetimeManager.Dispose is then called and it hangs in its first call on _serverStream
public void Dispose()
{
var toUnsubscribe = new List<Task>();
if (_serverStream != null)
{
var subscriptions = _serverStream.GetAllSubscriptionHandles().Result;
Is there some shutdown-time call SignalR.Orleans expects me to make? Or should some of the logic in Dispose be made part of the Silo's lifetime somehow? Or should _serverStream.GetAllSubscriptionHandles().Result; not hang at shutdown-time no matter when it is called?
The text was updated successfully, but these errors were encountered:
OrleansHubLifetimeManager.Dispose
is getting called in my .NET Core 3.1 generic host app after Orleans'sSilo.cs
has had the following shutdown function called:StopAsync
,OnActiveStop
OnBecomeActiveStop
and
OnRuntimeInitializeStop
which ends with this final-sounding comment:
OrleansHubLifetimeManager.Dispose
is then called and it hangs in its first call on_serverStream
Is there some shutdown-time call SignalR.Orleans expects me to make? Or should some of the logic in
Dispose
be made part of the Silo's lifetime somehow? Or should_serverStream.GetAllSubscriptionHandles().Result;
not hang at shutdown-time no matter when it is called?The text was updated successfully, but these errors were encountered: