Skip to content

Commit a34f800

Browse files
committed
Expose GC to the UI, to help tweak memory usage
1 parent 49014a4 commit a34f800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ let server: ChildProcess | null = null;
5353

5454
app.commandLine.appendSwitch('ignore-connections-limit', 'app.httptoolkit.tech');
5555
app.commandLine.appendSwitch('disable-renderer-backgrounding');
56+
app.commandLine.appendSwitch('js-flags', '--expose-gc'); // Expose window.gc in the UI
5657

5758
// Don't send our own traffic through the system proxy! Doing so causes issues when
5859
// we ourselves are the system proxy, and it gets super noisey.

0 commit comments

Comments
 (0)