Free, open-source macOS cleaner. CleanMyMac alternative with zero telemetry. Native SwiftUI, scheduled auto-cleaning, Xcode/Homebrew/system cache cleanup. MIT licensed.
Swift cache-cleanercleanmymaccleanupdisk-cleanerdisk-spacehomebrewmac-utilitymacosmacos-appmacos-cleanermacosxnativeossosxprivacyswiftswiftuisystem-cleanerxcode-cleaner
fix(scanning): synchronize collectionSet read in shouldSkipItem (#67)
Dávid Balatoni43c4afb6eada
diff --git a/PureMac/Logic/Scanning/AppPathFinder.swift b/PureMac/Logic/Scanning/AppPathFinder.swiftindex 48e7a26..e79535b 100644--- a/PureMac/Logic/Scanning/AppPathFinder.swift+++ b/PureMac/Logic/Scanning/AppPathFinder.swift@@ -266,7 +266,7 @@ class AppPathFinder {// MARK: - Skip Logicprivate func shouldSkipItem(_ normalizedName: String, at url: URL) -> Bool {- if collectionSet.contains(url) { return true }+ if collectionQueue.sync(execute: { collectionSet.contains(url) }) { return true }for skip in skipConditions {for path in skip.skipPaths {