mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +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"))
|