mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-29 19:50:42 +02:00
fix(http): properly invoke abort (#1662)
Co-authored-by: amrbashir <github@amrbashir.me>
This commit is contained in:
@@ -186,7 +186,7 @@ export async function fetch(
|
||||
throw new Error(ERROR_REQUEST_CANCELLED);
|
||||
}
|
||||
|
||||
signal?.addEventListener("abort", () => abort);
|
||||
signal?.addEventListener("abort", () => void abort());
|
||||
|
||||
interface FetchSendResponse {
|
||||
status: number;
|
||||
|
||||
Reference in New Issue
Block a user