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