fixed crash when restarting

This commit is contained in:
Anselme 2017-09-25 21:03:13 +02:00
parent 45a115c74c
commit 018e48cde7

View File

@ -70,7 +70,7 @@ void MMOkobanModule::startUpdateLoop(Server* server, bool *running)
{
while(*running)
server->update();
delete server;
server->destroy();
}
void MMOkobanModule::stop()