mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51: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:
@@ -42,6 +42,7 @@ class ThreadModule : public love::Module
|
||||
{
|
||||
public:
|
||||
|
||||
ThreadModule();
|
||||
virtual ~ThreadModule() {}
|
||||
virtual LuaThread *newThread(const std::string &name, love::Data *data);
|
||||
virtual Channel *newChannel();
|
||||
|
||||
Reference in New Issue
Block a user