Skip to content

Commit cc15e3c

Browse files
committed
AEDebugging_ Fix tests 3
SQUASHED: AUTO-COMMIT-src-client-reactive-active-expression-rewriting-active-expression-rewriting.js,
1 parent 5639571 commit cc15e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/reactive/active-expression-rewriting/active-expression-rewriting.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,6 @@ const DependenciesToAExprs = {
405405
disconnectAllForAExpr(aexpr) {
406406
const location = aexpr.meta().get("location");
407407
if (location && location.file) {
408-
for (const dep of DependenciesToAExprs.getDepsForAExpr(aexpr)) {
409408
DebuggingCache.updateFiles([location.file]);
410409
if( this._AEsPerFile.has(location.file)) {
411410
this._AEsPerFile.get(location.file).delete(aexpr);
@@ -416,6 +415,7 @@ const DependenciesToAExprs = {
416415
deps.forEach(dep => dep.updateTracking());
417416

418417
// Track affected files
418+
for (const dep of DependenciesToAExprs.getDepsForAExpr(aexpr)) {
419419
for (const hook of HooksToDependencies.getHooksForDep(dep)) {
420420
hook.getLocations().then(locations => DebuggingCache.updateFiles(locations.map(loc => loc.file)));
421421
}

0 commit comments

Comments
 (0)