Fix promise not completing

pull/318/head
nielsandriesse 4 years ago
parent c0a5bf263f
commit 97d0160138

@ -249,7 +249,8 @@ public final class MessageSender : NSObject {
seal.fulfill(()) // Always fulfill because the notify PN server job isn't critical. seal.fulfill(()) // Always fulfill because the notify PN server job isn't critical.
} }
} }
} else {
seal.fulfill(())
} }
}, completion: { }) }, completion: { })
} }

Loading…
Cancel
Save