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 async code issue. #664

Closed
wants to merge 1 commit into from
Closed

Fix async code issue. #664

wants to merge 1 commit into from

Conversation

AnyGCn
Copy link

@AnyGCn AnyGCn commented Jul 13, 2024

the execution will go on immediately after invoking updateMetadataFiles(), without waiting for all the write operations to complete, You are expecting that after forEach is completed, all the async code is already executed but that is not the case. You may upload the metadata files that are not written in yet.

@AnyGCn AnyGCn requested a review from SwiftAdviser as a code owner July 13, 2024 16:48
@reveloper
Copy link
Contributor

@AnyGCn, thank you for this fix!

Could you, please, revert ZH updates, as I can't solve this conflict? The localization team will update this in ZH version by themself.

@reveloper
Copy link
Contributor

@AnyGCn, thank you for the fixes, I transferred them directly because this PR got stuck with conflicts.

@reveloper reveloper closed this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants