From ff14b4a939511d42aa0ca46ea2139637b74e6e8a Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 4 Oct 2022 15:22:22 -0500 Subject: add garbage collector canaries --- demo/minimal/main.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'demo') 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) -- cgit v1.2.1