mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Updated the Lua wrapper code for modules to account for cases where the module's instance is removed from memory completely and recreated during the program's lifetime.
This commit is contained in:
@@ -25,6 +25,11 @@ namespace love
|
||||
namespace thread
|
||||
{
|
||||
|
||||
ThreadModule::ThreadModule()
|
||||
{
|
||||
moduleType = M_THREAD;
|
||||
}
|
||||
|
||||
LuaThread *ThreadModule::newThread(const std::string &name, love::Data *data)
|
||||
{
|
||||
LuaThread *lt = new LuaThread(name, data);
|
||||
|
||||
Reference in New Issue
Block a user