File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
packages/svelte/src/internal/client Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -494,15 +494,7 @@ function destroy_references(signal) {
494494 if ( references !== null ) {
495495 let i ;
496496 for ( i = 0 ; i < references . length ; i ++ ) {
497- const reference = references [ i ] ;
498- if ( ( reference . f & IS_EFFECT ) !== 0 ) {
499- destroy_signal ( reference ) ;
500- } else {
501- destroy_references ( reference ) ;
502- remove_consumers ( reference , 0 ) ;
503- reference . d = null ;
504- }
505- }
497+ destroy_signal ( references [ i ] ) ;
506498 }
507499}
508500
@@ -1273,8 +1265,6 @@ export function destroy_signal(signal) {
12731265 signal . y =
12741266 signal . x =
12751267 signal . b =
1276- // @ts -expect-error - this is fine, since we're assigning to null to clear out a destroyed signal
1277- signal . v =
12781268 signal . d =
12791269 signal . c =
12801270 null ;
You can’t perform that action at this time.
0 commit comments