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

ResourceLoader: Add last resort life-time insurance for tokens #96617

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

RandomShaper
Copy link
Member

This was intended to come in #94169, but when reorganizing the commits it got lost.

It makes sure that even if all the load requesters are no longer referencing a token, it's still alive until the corresponding load task completes so the task itself isn't removed until not even the resource loader itself is done with it. It's kinda an edge case.

@RandomShaper RandomShaper added this to the 4.4 milestone Sep 5, 2024
@RandomShaper RandomShaper requested a review from a team as a code owner September 5, 2024 17:12
@RandomShaper
Copy link
Member Author

Cherry-pick for 4.3 included in #96606.

@akien-mga
Copy link
Member

Needs rebase.

@RandomShaper
Copy link
Member Author

Rebased!

@akien-mga akien-mga merged commit effbc07 into godotengine:master Sep 6, 2024
20 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants