-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: addresses memory leak when creating deriveds inside untrack (#14443
) * fix: addresses memory leak when creating deriveds inside untrack * fix: addresses memory leak when creating deriveds inside untrack * changeset * Update packages/svelte/src/internal/client/reactivity/deriveds.js Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> * fix * fix * fix * comment * Update packages/svelte/tests/signals/test.ts * Update packages/svelte/src/internal/client/reactivity/deriveds.js Co-authored-by: Rich Harris <rich.harris@vercel.com> * Update .changeset/great-crabs-rhyme.md Co-authored-by: Rich Harris <rich.harris@vercel.com> --------- Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> Co-authored-by: Rich Harris <rich.harris@vercel.com>
- Loading branch information
1 parent
a6ad5af
commit 45417a3
Showing
5 changed files
with
82 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'svelte': patch | ||
--- | ||
|
||
fix: prevent memory leak when creating deriveds inside untrack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters