diff --git a/AltStore/Intents/IntentHandler.swift b/AltStore/Intents/IntentHandler.swift index 641b00b3..2d2ca70e 100644 --- a/AltStore/Intents/IntentHandler.swift +++ b/AltStore/Intents/IntentHandler.swift @@ -118,8 +118,9 @@ private extension IntentHandler { // Queue response in case refreshing finishes after confirm() but before handle(). self.queuedResponses[intent] = response - - UIApplication.shared.perform(#selector(NSXPCConnection.suspend)) + DispatchQueue.main.async { + UIApplication.shared.perform(#selector(NSXPCConnection.suspend)) + } } } }