mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fix a potential crash when a Thread ends (resolves issue #1219).
This commit is contained in:
@@ -36,12 +36,12 @@ namespace love
|
||||
namespace thread
|
||||
{
|
||||
|
||||
class LuaThread : public love::Object, public Threadable
|
||||
class LuaThread : public Threadable
|
||||
{
|
||||
public:
|
||||
|
||||
LuaThread(const std::string &name, love::Data *code);
|
||||
~LuaThread();
|
||||
virtual ~LuaThread();
|
||||
void threadFunction();
|
||||
const std::string &getError() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user