diff options
| author | ruki <[email protected]> | 2025-03-22 00:37:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-08 15:31:54 +0800 |
| commit | d579a1cc9322e67edd360e1a1dbd573f6d0320fc (patch) | |
| tree | 2523761de68614107f82df8eb8210b15caadd561 /xmake/core/base/graph.lua | |
| parent | f1a16a647593691302154af0ff592a9cdf9cda5e (diff) | |
check pending count
Diffstat (limited to 'xmake/core/base/graph.lua')
| -rw-r--r-- | xmake/core/base/graph.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/graph.lua b/xmake/core/base/graph.lua index 04b0c6573..63d339dec 100644 --- a/xmake/core/base/graph.lua +++ b/xmake/core/base/graph.lua @@ -190,6 +190,7 @@ function graph:partial_topo_sort_remove(node) if node == nil then return end + assert(self._partial_topo_pending > 0) self._partial_topo_pending = self._partial_topo_pending - 1 local edges = self:adjacent_edges(node) if edges then |
