summaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-10-04 15:22:22 -0500
committersanine <sanine.not@pm.me>2022-10-04 15:22:22 -0500
commitff14b4a939511d42aa0ca46ea2139637b74e6e8a (patch)
tree65872a49ad821729d394d6537eee3103862513a2 /demo
parent6d96b0e7ea1d98e44647d0bbbba232701a7d557e (diff)
add garbage collector canaries
Diffstat (limited to 'demo')
-rw-r--r--demo/minimal/main.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/demo/minimal/main.lua b/demo/minimal/main.lua
index 8eaa5c1..28a8cbe 100644
--- a/demo/minimal/main.lua
+++ b/demo/minimal/main.lua
@@ -1 +1,2 @@
print('hello, world!')
+local canary = honey.util.gc_canary(function() print('collecting canary') end)