Skip to content

Commit 01ffb95

Browse files
fix(bindgen): more direct task failure
1 parent 2c6ae81 commit 01ffb95

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/js-component-bindgen/src/intrinsics/p3/async_task.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,8 +1306,7 @@ impl AsyncTaskIntrinsic {
13061306
this.#state = {task_class}.State.PENDING_CANCEL;
13071307
const cancelled = this.deliverPendingCancel({{ cancellable: true }});
13081308
1309-
// TODO: do cleanup here to reset the machinery so we can run again?
1310-
1309+
// TODO: do cleanup here to reset the machinery so we can run again?
13111310
13121311
this.cancel({{ error: taskErr }});
13131312
}}

0 commit comments

Comments
 (0)