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

Fixes invalid cache in maploader #11450

Conversation

PowerfulBacon
Copy link
Member

About The Pull Request

Fixes an issue with the asynchronous map loader, where a cache could be used while out of date.
This occurred because the cache would be immediately set, so if something started loading before the cache was fully completed, then it would be unable to find certain parts of that cahce.

Why It's Good For The Game

This could result in certain templates failing to load.

Testing Photographs and Procedure

image

image

image

Changelog

🆑
fix: Fixes a maploading race condition that would result in invalid caches being used while loading maps.
/:cl:

@PowerfulBacon PowerfulBacon marked this pull request as ready for review September 8, 2024 12:41
@PowerfulBacon PowerfulBacon added the Priority: Critical THIS IS VERY IMPORTANT label Sep 8, 2024
@PowerfulBacon
Copy link
Member Author

Always an issue, but much more likely now. Speed merging.

@PowerfulBacon PowerfulBacon merged commit d4aa743 into BeeStation:master Sep 8, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Priority: Critical THIS IS VERY IMPORTANT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant