Skip to content

Commit

Permalink
Fix invalid cast
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Jun 13, 2024
1 parent d3bd34c commit 71f8013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/FwDataMiniLcmBridge/FwDataFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>))state!;
var (logger, projects) = ((ILogger<FwDataFactory>, HashSet<string>))state!;
var name = lcmCache.ProjectId.Name;
logger.LogInformation("Evicting project {ProjectFileName} from cache", name);
lcmCache.Dispose();
Expand Down

0 comments on commit 71f8013

Please sign in to comment.