Skip to content

[Stable11.3] fix workspace variable deleting bug#10916

Merged
riknoll merged 1 commit into
stable11.3from
dev/riknoll/arcade-stable-spritekind-delete-fix
Oct 23, 2025
Merged

[Stable11.3] fix workspace variable deleting bug#10916
riknoll merged 1 commit into
stable11.3from
dev/riknoll/arcade-stable-spritekind-delete-fix

Conversation

@riknoll
Copy link
Copy Markdown
Member

@riknoll riknoll commented Oct 22, 2025

this is NOT a cherry pick!

this is a fix for microsoft/pxt-arcade#6983

this does not need to be fixed in master, because i re-implemented how the flyout works for keyboard nav. however, we can't take those changes without taking all the blockly changes, so this is a targeted fix for this issue in arcade's stable branch. microbit and minecraft are not affected

the bug here was that for some reason disposing of the cached flyouts was also disposing the variable map of the main workspace. this fix removes that logic, which technically opens us up to a memory leak (though i think it's very unlikely to be a problem) but stops your project from being permanently ruined so i'd say that's a net win.

i'd like to hotfix this and #10908 ASAP. the other PR will help restore projects that have previously experienced this bug

@riknoll riknoll requested review from a team and abchatra October 22, 2025 23:55
@riknoll riknoll merged commit 265fb17 into stable11.3 Oct 23, 2025
4 checks passed
@riknoll riknoll deleted the dev/riknoll/arcade-stable-spritekind-delete-fix branch October 23, 2025 17:27
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