mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
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:
@@ -78,7 +78,6 @@ pub fn run(arena: *std.heap.ArenaAllocator, comptime dir: []const u8, f: []const
|
|||||||
.renderer = &renderer,
|
.renderer = &renderer,
|
||||||
});
|
});
|
||||||
defer js_env.deinit();
|
defer js_env.deinit();
|
||||||
errdefer js_env.wait() catch unreachable;
|
|
||||||
|
|
||||||
var storageShelf = storage.Shelf.init(alloc);
|
var storageShelf = storage.Shelf.init(alloc);
|
||||||
defer storageShelf.deinit();
|
defer storageShelf.deinit();
|
||||||
|
|||||||
Reference in New Issue
Block a user