Skip to content

Conversation

@FileEX
Copy link
Member

@FileEX FileEX commented Mar 14, 2025

Fixed #4098

The bug is caused by the fact that after calling MakeAbortable, the task still exists for some time, which causes HasJetpack to incorrectly return true. The solution is to check whether the task is finished. The task state is set to finished within the MakeAbortable function, so even if the task still exists, we know that it has already ended, and HasJetpack should return false.

@Dutchman101 Dutchman101 merged commit d919eab into multitheftauto:master Mar 16, 2025
6 checks passed
MTABot pushed a commit that referenced this pull request Mar 16, 2025
@FileEX FileEX deleted the bugfix/jetpack_sync branch March 16, 2025 02:33
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.

Jetpack desynchronization

2 participants