perf(efficiency): 落实首批采样减负与发行包瘦身
This commit is contained in:
@@ -17,6 +17,7 @@ struct ProcessIcon: View {
|
||||
.frame(width: 15, height: 15)
|
||||
.accessibilityHidden(true)
|
||||
.task(id: "\(process.id)-\(process.path ?? "")") {
|
||||
guard PanelResourceAudit.omitted != "icons" else { return }
|
||||
// Resolve by the sampled executable, avoiding an icon from a reused PID.
|
||||
guard let path = process.path else { icon = nil; return }
|
||||
let url = URL(fileURLWithPath: path)
|
||||
|
||||
Reference in New Issue
Block a user