vue 3.4.4 → 3.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3468,10 +3468,11 @@ If this is a native custom element, make sure to exclude it from component resol
3468
3468
  scheduler = () => queueJob(job);
3469
3469
  }
3470
3470
  const effect = new ReactiveEffect(getter, NOOP, scheduler);
3471
+ const scope = getCurrentScope();
3471
3472
  const unwatch = () => {
3472
3473
  effect.stop();
3473
- if (instance && instance.scope) {
3474
- remove(instance.scope.effects, effect);
3474
+ if (scope) {
3475
+ remove(scope.effects, effect);
3475
3476
  }
3476
3477
  };
3477
3478
  {
@@ -9486,7 +9487,7 @@ Component that was made reactive: `,
9486
9487
  return true;
9487
9488
  }
9488
9489
 
9489
- const version = "3.4.4";
9490
+ const version = "3.4.5";
9490
9491
  const warn = warn$1 ;
9491
9492
  const ErrorTypeStrings = ErrorTypeStrings$1 ;
9492
9493
  const devtools = devtools$1 ;