summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/node-res.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-08-27 20:45:33 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-08-27 20:45:33 +0200
commitcdb8470a2b74a79863900e7ec3130b72acb7f1ae (patch)
tree7621218f87b738438438546cea15ae37cd57220f /tex/context/base/mkiv/node-res.lua
parentb2c10135056be4af1a52ed8ef7b3f1f4017dccc0 (diff)
downloadcontext-cdb8470a2b74a79863900e7ec3130b72acb7f1ae.tar.gz
2020-08-27 19:27:00
Diffstat (limited to 'tex/context/base/mkiv/node-res.lua')
-rw-r--r--tex/context/base/mkiv/node-res.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/node-res.lua b/tex/context/base/mkiv/node-res.lua
index 9b76fed54..c27059003 100644
--- a/tex/context/base/mkiv/node-res.lua
+++ b/tex/context/base/mkiv/node-res.lua
@@ -584,12 +584,17 @@ local usage = CONTEXTLMTXMODE > 0 and node.inuse or function()
return t
end
+local stock = CONTEXTLMTXMODE > 0 and node.instock or { }
+
nutpool .cleanup = cleanup
nodepool.cleanup = cleanup
nutpool .usage = usage
nodepool.usage = usage
+nutpool .stock = stock
+nodepool.stock = stock
+
-- end
statistics.register("cleaned up reserved nodes", function()