AI: fixed memory leaks on game's end without humans (4 Mb per game, related to #11285, #5023)

This commit is contained in:
Oleg Agafonov 2023-10-12 06:27:37 +04:00
parent 17e26759d7
commit 10ccab3caa

View file

@ -862,11 +862,11 @@ public class TableController {
}); });
} }
} }
}
// free resources no longer needed // free resources no longer needed
match.cleanUpOnMatchEnd(managerFactory.configSettings().isSaveGameActivated(), table.isTournament()); match.cleanUpOnMatchEnd(managerFactory.configSettings().isSaveGameActivated(), table.isTournament());
} }
} }
}
private synchronized void setupTimeout(int seconds) { private synchronized void setupTimeout(int seconds) {
cancelTimeout(); cancelTimeout();