Skip to content

fix: unloadAll should cleanup live-array membership#8926

Merged
runspired merged 1 commit intolts-4-12from
fix-unload-all
Sep 28, 2023
Merged

fix: unloadAll should cleanup live-array membership#8926
runspired merged 1 commit intolts-4-12from
fix-unload-all

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
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants