Skip to content

Commit

Permalink
AI: fixed memory leaks on game's end without humans (4 Mb per game, r…
Browse files Browse the repository at this point in the history
…elated to #11285, #5023)
  • Loading branch information
JayDi85 committed Oct 12, 2023
1 parent 17e2675 commit 10ccab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mage.Server/src/main/java/mage/server/TableController.java
Original file line number Diff line number Diff line change
Expand Up @@ -862,9 +862,9 @@ private void matchEnd() {
});
}
}
// free resources no longer needed
match.cleanUpOnMatchEnd(managerFactory.configSettings().isSaveGameActivated(), table.isTournament());
}
// free resources no longer needed
match.cleanUpOnMatchEnd(managerFactory.configSettings().isSaveGameActivated(), table.isTournament());
}
}

Expand Down

0 comments on commit 10ccab3

Please sign in to comment.