The deadlock situation is craaaaazy

Fix
This commit is contained in:
Evil Factory
2026-01-19 21:20:04 -03:00
committed by Maplewheels
parent dda26df250
commit f1e1b9238d
4 changed files with 51 additions and 51 deletions
@@ -25,8 +25,8 @@ public class SafeStorageService : StorageService, ISafeStorageService
public SafeStorageService(IStorageServiceConfig configData) : base(configData)
{
IsReadOperationAllowedEval = async Task<bool> (fp) => IsFileAccessible(fp, true, true);
IsWriteOperationAllowedEval = async Task<bool> (fp) => IsFileAccessible(fp, false, true);
IsReadOperationAllowedEval = (fp) => IsFileAccessible(fp, true, true);
IsWriteOperationAllowedEval = (fp) => IsFileAccessible(fp, false, true);
}
private string GetFullPath(string path) => System.IO.Path.GetFullPath(path).CleanUpPathCrossPlatform();