From 71f8013e2490a4f2f3e2404ee967a7ea44529c53 Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Thu, 13 Jun 2024 15:41:07 +0200 Subject: [PATCH] Fix invalid cast --- backend/FwDataMiniLcmBridge/FwDataFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/FwDataMiniLcmBridge/FwDataFactory.cs b/backend/FwDataMiniLcmBridge/FwDataFactory.cs index 9fed5a048..16497de43 100644 --- a/backend/FwDataMiniLcmBridge/FwDataFactory.cs +++ b/backend/FwDataMiniLcmBridge/FwDataFactory.cs @@ -56,7 +56,7 @@ private static void OnLcmProjectCacheEviction(object key, object? value, Evictio // disposing of the service while it's still in use would be bad. // one way around this would be to return a lease object, only after a timeout and no more references to the lease object would the service be disposed. var lcmCache = (LcmCache)value; - var (logger, projects) = ((ILogger, HashSet))state!; + var (logger, projects) = ((ILogger, HashSet))state!; var name = lcmCache.ProjectId.Name; logger.LogInformation("Evicting project {ProjectFileName} from cache", name); lcmCache.Dispose();