Remove the WPT js_env.wait() on error.

40c0c7d421

Makes it unecessary as wait is now always called on deinit.
This commit is contained in:
Karl Seguin
2025-04-10 16:30:44 +08:00
parent 66bac32e33
commit c775de260a

View File

@@ -78,7 +78,6 @@ pub fn run(arena: *std.heap.ArenaAllocator, comptime dir: []const u8, f: []const
.renderer = &renderer,
});
defer js_env.deinit();
errdefer js_env.wait() catch unreachable;
var storageShelf = storage.Shelf.init(alloc);
defer storageShelf.deinit();