mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] component, error_handling: do not cancel the error fiber twice
This commit is contained in:
committed by
Aaron Bohy
parent
dfd0dcedb8
commit
a2e8abc243
@@ -29,7 +29,7 @@ function _handleError(node: ComponentNode | null, error: any, isFirstRound = fal
|
||||
}
|
||||
|
||||
if (stopped) {
|
||||
if (isFirstRound && fiber) {
|
||||
if (isFirstRound && fiber && fiber.node.fiber) {
|
||||
fiber.root!.counter--;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user