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: unloadAll should cleanup live-array membership #8926

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

runspired
Copy link
Contributor

test for #8924
fix is likely just to wipe record-array membership at the point of the unloadAll

This feels similar to an issue reported before that was already fixed, we might have a fix in later versions already. Will port the test forward to find out.

@runspired runspired added 🎯 lts The PR should be backported to the most recent LTS 🏷️ bug This PR primarily fixes a reported issue labels Sep 27, 2023
@github-actions github-actions bot added the backport-lts PR targets the current lts branch label Sep 27, 2023
@brian-dead
Copy link

I should mention that the issue in #8924 also occurs when iterating over the record list and unloading each record manually. i.e. this.store.peekAll(...).forEach(record => record.unloadRecord())

…8927)

* fix: add test for unloadAll not fully cleaning up

* fix

* fix lint
@runspired runspired removed the 🎯 lts The PR should be backported to the most recent LTS label Sep 28, 2023
@runspired runspired merged commit 7c5c65a into lts-4-12 Sep 28, 2023
11 of 12 checks passed
@delete-merged-branch delete-merged-branch bot deleted the fix-unload-all branch September 28, 2023 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-lts PR targets the current lts branch 🏷️ bug This PR primarily fixes a reported issue
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants