Skip to content

Commit c775de2

Browse files
committed
Remove the WPT js_env.wait() on error.
lightpanda-io/zig-js-runtime@40c0c7d Makes it unecessary as wait is now always called on deinit.
1 parent 66bac32 commit c775de2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wpt/run.zig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ pub fn run(arena: *std.heap.ArenaAllocator, comptime dir: []const u8, f: []const
7878
.renderer = &renderer,
7979
});
8080
defer js_env.deinit();
81-
errdefer js_env.wait() catch unreachable;
8281

8382
var storageShelf = storage.Shelf.init(alloc);
8483
defer storageShelf.deinit();

0 commit comments

Comments
 (0)