Skip to content

Commit

Permalink
fix: Properly dispose queued screens & don't dipose queued transitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
crykn committed Oct 23, 2023
1 parent 5625c58 commit 8cbce7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void dispose() {
super.transition = null;

for (Pair<Supplier<ScreenTransition>, Supplier<AbstractEskalonScreen>> pair : transitionQueue) {
pair.x.get().dispose();
pair.y.get().dispose();
}
transitionQueue.clear();

Expand Down

0 comments on commit 8cbce7a

Please sign in to comment.