mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Thread:start now clears the thread's error string before starting
This commit is contained in:
@@ -52,6 +52,7 @@ LuaThread::~LuaThread()
|
||||
void LuaThread::threadFunction()
|
||||
{
|
||||
this->retain();
|
||||
error.clear();
|
||||
lua_State *L = luaL_newstate();
|
||||
luaL_openlibs(L);
|
||||
#ifdef LOVE_BUILD_STANDALONE
|
||||
|
||||
Reference in New Issue
Block a user