public async Task UninstallLogRouteAsync(LogRouteBase route) { lock (LockObj) { this.RouteList = this.RouteList.Remove(route); } route._CancelSafe(); await route._CleanupSafeAsync(); route._DisposeSafe(); }
public void UninstallLogRoute(LogRouteBase route) => UninstallLogRouteAsync(route)._GetResult();