diff options
author | sanine <sanine.not@pm.me> | 2022-10-04 15:22:22 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-10-04 15:22:22 -0500 |
commit | ff14b4a939511d42aa0ca46ea2139637b74e6e8a (patch) | |
tree | 65872a49ad821729d394d6537eee3103862513a2 /demo/minimal | |
parent | 6d96b0e7ea1d98e44647d0bbbba232701a7d557e (diff) |
add garbage collector canaries
Diffstat (limited to 'demo/minimal')
-rw-r--r-- | demo/minimal/main.lua | 1 |
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) |