fix(runtime-core): handle error in async KeepAlive hooks (#4978)
This commit is contained in:
@@ -381,7 +381,7 @@ function registerKeepAliveHook(
|
||||
}
|
||||
current = current.parent
|
||||
}
|
||||
hook()
|
||||
return hook()
|
||||
})
|
||||
injectHook(type, wrappedHook, target)
|
||||
// In addition to registering it on the target instance, we walk up the parent
|
||||
|
||||
Reference in New Issue
Block a user