mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-11-16 02:08: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"))
|