mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
Fixes endless refreshing if error occurs when legacy refreshing
This commit is contained in:
@@ -508,7 +508,7 @@ private extension AppManager
|
||||
|
||||
case .failure(ALTServerError.unknownRequest):
|
||||
// Fall back to installation if AltServer doesn't support newer provisioning profile requests.
|
||||
app.managedObjectContext?.perform {
|
||||
app.managedObjectContext?.performAndWait { // Must performAndWait to ensure we add operations before we return.
|
||||
let installProgress = self._install(app, group: group) { (result) in
|
||||
completionHandler(result)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user