aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar cirospaciari <ciro.spaciari@gmail.com> 2023-09-21 00:44:24 -0300
committerGravatar cirospaciari <ciro.spaciari@gmail.com> 2023-09-29 21:43:11 -0300
commit88d522b6a0e9873cc36506c7fa27645dc00daf65 (patch)
treea49113421ef8b688e027f1f38e9f2c944dd4116d
parent1cec0c5662ff3226e8e42144eb21df082a2ec7d8 (diff)
downloadbun-88d522b6a0e9873cc36506c7fa27645dc00daf65.tar.gz
bun-88d522b6a0e9873cc36506c7fa27645dc00daf65.tar.zst
bun-88d522b6a0e9873cc36506c7fa27645dc00daf65.zip
remove this because im not sure of it
-rw-r--r--src/bun.js/test/jest.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bun.js/test/jest.zig b/src/bun.js/test/jest.zig
index 8d5506c96..684b8aaf8 100644
--- a/src/bun.js/test/jest.zig
+++ b/src/bun.js/test/jest.zig
@@ -105,7 +105,6 @@ pub const TestRunner = struct {
pub fn onTestTimeout(timer: *bun.uws.Timer) callconv(.C) void {
var this = timer.ext(TestRunner).?;
- defer timer.deinit(true);
if (this.pending_test) |pending_test| {
if (!pending_test.reported) {
@@ -1435,7 +1434,6 @@ pub const TestRunnerTask = struct {
vm.clearOnException();
this.ref.unref(vm);
-
// there is a double free here involving async before/after callbacks
//
// Fortunately: