Substituted extension method for normal equivalent.
This commit is contained in:
parent
220839919b
commit
455efcbfe3
@ -183,7 +183,7 @@ namespace GameServiceWarden.Core.Games
|
||||
break;
|
||||
case false:
|
||||
ServiceDescriptor removed;
|
||||
if (running.Remove(serviceInfo.ServiceName, out removed)) {
|
||||
if (running.TryRemove(serviceInfo.ServiceName, out removed)) {
|
||||
removed.ServiceStateChangeEvent -= OnServiceStateChange;
|
||||
services[serviceInfo.ServiceName] = removed;
|
||||
managerChange.delta = true;
|
||||
|
Reference in New Issue
Block a user