fix: quit a started room block main thread

This commit is contained in:
notify 2022-05-09 23:37:44 +08:00
parent 60b9839fd7
commit 7da5fcfa2c
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ Room::~Room()
{
// TODO
if (isRunning()) {
terminate();
wait();
}
lua_close(L);