fix: prevent infinite loop
This commit is contained in:
parent
7267b6da5d
commit
1563f055f3
|
@ -467,7 +467,10 @@ class Flecks {
|
|||
}
|
||||
}
|
||||
});
|
||||
this.invoke('@flecks/core.priority', graph, hook);
|
||||
// Avoid re-entry.
|
||||
if ('@flecks/core.priority' !== hook) {
|
||||
this.invoke('@flecks/core.priority', graph, hook);
|
||||
}
|
||||
return graph;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user