aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/thread/je_lua_thread.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-10 11:46:29 +0800
committerchai <chaifix@163.com>2018-12-10 11:46:29 +0800
commitce8e259441410aba3f2345333003032ed9c45d65 (patch)
treeb28b8a30e2b30081a2f9bdbf0a142099f7a8cd6f /src/lua/modules/thread/je_lua_thread.cpp
parentb1dfdae7a071407ef5e2d56f2203f96e6ba6068d (diff)
*删除shared的lua类型信息
Diffstat (limited to 'src/lua/modules/thread/je_lua_thread.cpp')
-rw-r--r--src/lua/modules/thread/je_lua_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/thread/je_lua_thread.cpp b/src/lua/modules/thread/je_lua_thread.cpp
index 35bf876..9e785ff 100644
--- a/src/lua/modules/thread/je_lua_thread.cpp
+++ b/src/lua/modules/thread/je_lua_thread.cpp
@@ -213,7 +213,7 @@ namespace JinEngine
const char* name = luax_checkstring(L, 1);
const char* code = luax_checkstring(L, 2);
Thread* thread = new Thread(name, code, threadRunner);
- LuaObject* luaObj = luax_newinstance(L, Jin_Lua_Thread, new Shared(thread, Jin_Lua_Thread));
+ LuaObject* luaObj = luax_newinstance(L, Jin_Lua_Thread, new Shared(thread));
return 1;
}