Skip to content

Commit 16356a2

Browse files
fix(client): avoid removing abort listener too early
1 parent d3c1c08 commit 16356a2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/client.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,6 @@ export class WarpAPI {
512512
return await this.fetch.call(undefined, url, fetchOptions);
513513
} finally {
514514
clearTimeout(timeout);
515-
if (signal) signal.removeEventListener('abort', abort);
516515
}
517516
}
518517

0 commit comments

Comments
 (0)