guy 7 years ago
parent
commit
b8dccb33fb
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -995,6 +995,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}, _.bind(cb, vm)); }, _.bind(cb, vm));
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
w.teardown(); w.teardown();
v.__ob__._globalDeps && remove(v.__ob__._globalDeps, dep);
v.__ob__._deps && remove(v.__ob__._deps, dep);
}); });
return; return;
} }

Loading…
Cancel
Save