diff options
author | 2023-10-09 23:56:48 -0300 | |
---|---|---|
committer | 2023-10-09 19:56:48 -0700 | |
commit | 6301778a589254e2c3c0d95f768fce303f528b03 (patch) | |
tree | 5f7dc87ebe3b4ac33bb8b842f4fc8ca096997311 /src/bun.js/api/bun.zig | |
parent | 3667b93871470aaa018e59365b16d7cf6584a5f9 (diff) | |
download | bun-6301778a589254e2c3c0d95f768fce303f528b03.tar.gz bun-6301778a589254e2c3c0d95f768fce303f528b03.tar.zst bun-6301778a589254e2c3c0d95f768fce303f528b03.zip |
fix(AbortSignal/fetch) fix AbortSignal.timeout, fetch lock behavior and fetch errors (#6390)
* fix abort signal and fetch error
* fix fetch error and lock behavior
Diffstat (limited to 'src/bun.js/api/bun.zig')
-rw-r--r-- | src/bun.js/api/bun.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/bun.zig b/src/bun.js/api/bun.zig index 0862e41ec..21c2ecd0e 100644 --- a/src/bun.js/api/bun.zig +++ b/src/bun.js/api/bun.zig @@ -3604,7 +3604,7 @@ pub const Timer = struct { this.poll_ref.unref(vm); - this.timer.deinit(); + this.timer.deinit(false); // balance double unreffing in doUnref vm.event_loop_handle.?.num_polls += @as(i32, @intFromBool(this.did_unref_timer)); |