Fix potential null ref in RedisHublifetimeManager RemoveGroup (#706)
This commit is contained in:
parent
8cda36157f
commit
eb008a0dfe
|
|
@ -274,7 +274,7 @@ namespace Microsoft.AspNetCore.SignalR.Redis
|
||||||
}
|
}
|
||||||
|
|
||||||
var connection = _connections[connectionId];
|
var connection = _connections[connectionId];
|
||||||
if (connection != null)
|
if (connection == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue