We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b105e9 commit 0f91721Copy full SHA for 0f91721
packages/browser-vm/src/modules/network.ts
@@ -22,6 +22,9 @@ export function networkModule(sandbox: Sandbox) {
22
super();
23
if (!sandbox.options.disableCollect) {
24
xhrSet.add(this);
25
+ this.addEventListener('loadend', () => {
26
+ xhrSet.delete(this);
27
+ }, { once: true });
28
}
29
30
0 commit comments