mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
parent
a469094328
commit
9ace23470f
4 changed files with 7 additions and 7 deletions
|
|
@ -93,7 +93,7 @@ end
|
|||
|
||||
local function flush_cleanups<T>(node: Node<T>)
|
||||
if node.cleanups then
|
||||
for _, fn in next, node.cleanups do
|
||||
for _, fn in node.cleanups do
|
||||
local ok, err: string? = xpcall(fn, debug.traceback)
|
||||
if not ok then error(`cleanup error: {err}`, 0) end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue