mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 12:44:43 +00:00
Close all cdp clients on shutdown
This commit is contained in:
@@ -115,6 +115,8 @@ fn run(allocator: Allocator, main_arena: Allocator) !void {
|
||||
};
|
||||
defer server.deinit();
|
||||
|
||||
try sighandler.on(lp.Server.shutdown, .{server});
|
||||
|
||||
app.network.run();
|
||||
},
|
||||
.fetch => |opts| {
|
||||
|
||||
Reference in New Issue
Block a user