mirror of
https://github.com/lune-org/lune.git
synced 2025-04-04 10:30:54 +01:00
18 lines
296 B
Text
18 lines
296 B
Text
--!nocheck
|
|
--!nolint
|
|
local ffi = require("@lune/ffi")
|
|
|
|
local box = ffi.box(ffi.i32.size)
|
|
local ref = box:leak()
|
|
|
|
box = nil
|
|
|
|
collectgarbage("collect")
|
|
collectgarbage("collect")
|
|
collectgarbage("collect")
|
|
|
|
ffi.free(ref)
|
|
|
|
collectgarbage("collect")
|
|
collectgarbage("collect")
|
|
collectgarbage("collect")
|