diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/core/luasrc/util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index fda4563ad3..3a0b2fbfc1 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -269,7 +269,7 @@ function threadlocal() local c = coroutine.running() local thread = coxpt[c] or c or 0 if not rawget(self, thread) then - rawset(self, thread, {}) + return nil end return rawget(self, thread)[key] end |