diff --git a/AltStore/Operations/RefreshGroup.swift b/AltStore/Operations/RefreshGroup.swift index c4f3dd72..9d487b6b 100644 --- a/AltStore/Operations/RefreshGroup.swift +++ b/AltStore/Operations/RefreshGroup.swift @@ -46,8 +46,8 @@ class RefreshGroup: NSObject if self.operations.isEmpty && !operations.isEmpty { - self.dispatchGroup.notify(queue: .global()) { - self.finish() + self.dispatchGroup.notify(queue: .global()) { [weak self] in + self?.finish() } }