Skip to content

Commit bcbba7e

Browse files
committed
revised
1 parent 293bdfd commit bcbba7e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -953,10 +953,9 @@ export function get(signal) {
953953

954954
if (parent !== null) {
955955
// If the derived is owned by another derived then mark it as unowned
956-
// as the derived value might have been shared and thus we cannot determine
957-
// a true
956+
// as the derived value might have been referenced in a different context
957+
// since and thus its parent might not be its true owner anymore
958958
if ((parent.f & DERIVED) !== 0 && (parent.f & UNOWNED) === 0) {
959-
debugger;
960959
derived.f ^= UNOWNED;
961960
} else {
962961
// Otherwise we can attach the derieved to the parent effect

0 commit comments

Comments
 (0)