Fix promise not completing
This commit is contained in:
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…
Reference in New Issue