mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 20:38:22 +01:00
7 lines
149 B
Lua
7 lines
149 B
Lua
local socket = require("socket")
|
|
try = socket.newtry(function()
|
|
print("finalized!!!")
|
|
end)
|
|
try = socket.protect(try)
|
|
print(try(nil, "it works"))
|