Skip to content

Commit

Permalink
Fix memory leak issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Aug 7, 2021
1 parent c60c2d4 commit 573d4e8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public static void tick(TickEvent.RenderTickEvent event) {
tickEntry(textureManager, entry.getKey(), entry.getValue());
if (--entry.getValue().right < 0) {
LOGGER.debug("Slide show expired: {}", entry.getKey());
entry.getValue().left.close();
iterator.remove();
}
}
Expand Down

0 comments on commit 573d4e8

Please sign in to comment.