Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
fix: fix race conditions in source browsing tests
Browse files Browse the repository at this point in the history
We fix race conditions in source browsing tests by ensuring that abort
signals for superseded requests are properly delivered.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
  • Loading branch information
geigerzaehler committed Aug 10, 2021
1 parent 3766946 commit 0c8de68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/proxy/fetcher.ts
Expand Up @@ -155,7 +155,7 @@ export class Fetcher {
headers,
body: body === undefined ? null : JSON.stringify(body),
credentials: "include",
...options,
signal: options.abort,
});
}
}

0 comments on commit 0c8de68

Please sign in to comment.