Fix a potential crash when a Thread ends (resolves issue #1219).

This commit is contained in:
Alex Szpakowski
2016-10-08 10:50:50 -03:00
parent 304ccec71c
commit b1b4a637b5
6 changed files with 16 additions and 12 deletions
+2 -2
View File
@@ -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;