diff --git a/dist/fix/fix.js b/dist/fix/fix.js index 0d37b4e05..bc9f030a5 100644 --- a/dist/fix/fix.js +++ b/dist/fix/fix.js @@ -1084,7 +1084,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons if (root._globalDeps[regStr].length === 0) { delete root._globalDeps[regStr]; - _w.teardown() + _w.teardown(); } } }); @@ -1132,9 +1132,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons if (_root._globalDeps) { remove(_root._globalDeps[_regStr], _dep2); - if (root._globalDeps[regStr].length === 0) { - delete root._globalDeps[regStr]; - _w.teardown() + if (_root._globalDeps[_regStr].length === 0) { + delete _root._globalDeps[_regStr]; + _w2.teardown(); } } });