fix: prevent infinite loop

This commit is contained in:
cha0s 2024-02-18 09:55:36 -06:00
parent 7267b6da5d
commit 1563f055f3

View File

@ -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; return graph;
} }