* Minor cleanups
This commit is contained in:
parent
3eabbcc191
commit
cb53f314f4
4 changed files with 1 additions and 1 deletions
0
contrib/package/luci-addons/dist/etc/hotplug.d/iface/20-aliases
vendored
Normal file → Executable file
0
contrib/package/luci-addons/dist/etc/hotplug.d/iface/20-aliases
vendored
Normal file → Executable file
0
contrib/package/luci-addons/dist/sbin/luci-flash
vendored
Normal file → Executable file
0
contrib/package/luci-addons/dist/sbin/luci-flash
vendored
Normal file → Executable file
0
contrib/package/luci-addons/dist/usr/bin/run-parts
vendored
Normal file → Executable file
0
contrib/package/luci-addons/dist/usr/bin/run-parts
vendored
Normal file → Executable file
|
@ -269,7 +269,7 @@ function threadlocal()
|
||||||
local c = coroutine.running()
|
local c = coroutine.running()
|
||||||
local thread = coxpt[c] or c or 0
|
local thread = coxpt[c] or c or 0
|
||||||
if not rawget(self, thread) then
|
if not rawget(self, thread) then
|
||||||
rawset(self, thread, {})
|
return nil
|
||||||
end
|
end
|
||||||
return rawget(self, thread)[key]
|
return rawget(self, thread)[key]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue