We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a52f275 commit 66f6d9eCopy full SHA for 66f6d9e
1 file changed
PACore/Source/PAInvocation.swift
@@ -66,7 +66,7 @@ public final class PAInvocation {
66
do {
67
let data = try JSONSerialization.data(withJSONObject: info, options: [])
68
if let json = String(data: data, encoding: .utf8) {
69
- DistributedNotificationCenter.default().post(name: Notifications.CreatePlayground, object: json, userInfo: nil)
+ DistributedNotificationCenter.default().postNotificationName(Notifications.CreatePlayground, object: json, userInfo: nil, deliverImmediately: true)
70
}
71
} catch {
72
throw PAInvocationError.invalidData
0 commit comments