mirror of
https://github.com/cranci1/Sora.git
synced 2026-01-11 20:10:24 +00:00
crash fix
This commit is contained in:
parent
f7b64391f4
commit
0bd4d21cbf
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ extension JSContext {
|
|||
guard let url = URL(string: urlString) else {
|
||||
Logger.shared.log("Invalid URL", type: "Error")
|
||||
DispatchQueue.main.async {
|
||||
reject.call(withArguments: ["Invalid URL"])
|
||||
resolve.call(withArguments: ["Invalid URL"])
|
||||
}
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue