Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix IndexOutOfBoundsException #68

Merged
merged 2 commits into from
May 22, 2022
Merged

Fix IndexOutOfBoundsException #68

merged 2 commits into from
May 22, 2022

Conversation

rjolly
Copy link
Contributor

@rjolly rjolly commented May 3, 2022

Fixes #67

@johanvos johanvos requested a review from jperedadnr May 8, 2022 15:06
setProgress(1);
});
} else {
logger.fine("Tile from file cache");
setImage(future.getNow(null));
Platform.runLater(() -> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this one es needed, only the block in future.thenAccept(file -> {}) runs outside the JavaFX Application thread.

@jperedadnr jperedadnr added the CLA signed Author has signed the Gluon CLA label May 8, 2022
@jperedadnr jperedadnr merged commit a99da5d into gluonhq:master May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed Author has signed the Gluon CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IndexOutOfBoundsException
2 participants