diff --git a/src/server/room.cpp b/src/server/room.cpp index 34592943..c741bfe5 100644 --- a/src/server/room.cpp +++ b/src/server/room.cpp @@ -32,6 +32,7 @@ Room::~Room() { // TODO if (isRunning()) { + terminate(); wait(); } lua_close(L);