Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit 0a7316d

Browse files
darkwingjasonLaster
authored andcommitted
Clear the directory root when navigating domains (#5740)
1 parent 7fe27ed commit 0a7316d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/actions/navigation.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { waitForMs } from "../utils/utils";
1111

1212
import { newSources } from "./sources";
1313
import { updateWorkers } from "./debuggee";
14+
import { clearProjectDirectoryRoot } from "./ui";
1415

1516
import {
1617
clearASTs,
@@ -41,6 +42,7 @@ export function willNavigate(event: Object) {
4142
clearASTs();
4243
clearScopes();
4344
clearSources();
45+
dispatch(clearProjectDirectoryRoot());
4446
dispatch(navigate(event.url));
4547
};
4648
}

0 commit comments

Comments
 (0)