fix: quit a started room block main thread
This commit is contained in:
parent
60b9839fd7
commit
7da5fcfa2c
|
@ -32,6 +32,7 @@ Room::~Room()
|
|||
{
|
||||
// TODO
|
||||
if (isRunning()) {
|
||||
terminate();
|
||||
wait();
|
||||
}
|
||||
lua_close(L);
|
||||
|
|
Loading…
Reference in New Issue