mirror of
https://github.com/kepler155c/opus
synced 2025-12-17 21:58:06 +00:00
tabs update + object identity
This commit is contained in:
@@ -21,16 +21,13 @@ if not http._patched then
|
||||
else
|
||||
syncLocks[key] = { }
|
||||
end
|
||||
local s, m = pcall(fn)
|
||||
fn()
|
||||
local co = table.remove(syncLocks[key], 1)
|
||||
if co then
|
||||
os.queueEvent('sync_lock', co)
|
||||
else
|
||||
syncLocks[key] = nil
|
||||
end
|
||||
if not s then
|
||||
error(m)
|
||||
end
|
||||
end
|
||||
|
||||
-- todo -- completely replace http.get with function that
|
||||
|
||||
Reference in New Issue
Block a user