Skip to content

Commit 8b97fcd

Browse files
committed
Address review comments
1 parent 8c09ec7 commit 8b97fcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

glean/src/core/context.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ export class Context {
5858
await Context.instance._dispatcher.testUninitialize();
5959
}
6060

61+
// Due to the test requirement of keeping storage in place,
62+
// we can't simply wipe out the full `Context` instance.
63+
// The closest thing we can do is making the dispatcher `null`.
6164
Context.instance._dispatcher = null;
6265
Context.initialized = false;
6366
}

0 commit comments

Comments
 (0)