mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +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,
|
||||
});
|
||||
defer js_env.deinit();
|
||||
errdefer js_env.wait() catch unreachable;
|
||||
|
||||
var storageShelf = storage.Shelf.init(alloc);
|
||||
defer storageShelf.deinit();
|
||||
|
||||
Reference in New Issue
Block a user