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