Fix promise rejection catching
This commit is contained in:
parent
2a680b1095
commit
21b795f826
@ -39,6 +39,7 @@ function PromisePrototype:__reject_raw(reason)
|
||||
local any_child = false
|
||||
|
||||
for _, child in ipairs(self.__children) do
|
||||
any_child = true
|
||||
child:reject(reason)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user