Simplify invocation of 'done' callback

This commit is contained in:
Thorsten Sommer 2025-12-08 20:37:58 +01:00
parent b74917f484
commit 0ee576f8e9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -59,8 +59,7 @@ public static class DirectoryInfoExtensions
reportCurrentTotalSize(totalSize);
reportCurrentNumFiles(numFiles);
if(done is not null)
done();
done?.Invoke();
}
}