Skip to content

Conversation

@sovdeeth
Copy link
Member

Problem

#7963 Variables were attempting to be set asynchronously when using the async script loader setting.

Solution

Changes StructParse and StructVariables to enforce using the main thread when changing variables.

Testing Completed

Manual testing with the existing test scripts and the async loader enabled.

Supporting Information

This is very much a bandaid and not a comprehensive fix of async loading. There are no doubt many more issues with it.


Completes: #7963
Related: none

@sovdeeth sovdeeth requested review from a team as code owners June 20, 2025 18:36
@sovdeeth sovdeeth requested review from UnderscoreTud and removed request for a team June 20, 2025 18:36
@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jun 20, 2025
@sovdeeth sovdeeth requested review from erenkarakal and removed request for a team June 20, 2025 18:36
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Jun 20, 2025
@sovdeeth sovdeeth linked an issue Jun 20, 2025 that may be closed by this pull request
@sovdeeth sovdeeth moved this to In Review in 2.12 Releases Jun 20, 2025
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.12 Releases Jun 24, 2025
@skriptlang-automation skriptlang-automation bot added patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. and removed needs reviews A PR that needs additional reviews labels Jun 25, 2025
@APickledWalrus APickledWalrus merged commit 95f2c75 into SkriptLang:dev/patch Jun 25, 2025
5 checks passed
@skriptlang-automation skriptlang-automation bot added the completed The issue has been fully resolved and the change will be in the next Skript update. label Jun 25, 2025
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done in 2.12 Releases Jun 25, 2025
@skriptlang-automation skriptlang-automation bot removed the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

Bunch of assertion errors in dev environment

4 participants