cdp: remove send sync

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-10-21 18:29:10 +02:00
parent 20dd140c31
commit 8508c21080
4 changed files with 5 additions and 14 deletions

View File

@@ -331,8 +331,7 @@ fn navigate(
.loaderId = ctx.state.loaderID,
};
const res = try result(alloc, msg.id, Resp, resp, msg.sessionID);
defer alloc.free(res);
try server.sendSync(ctx, res);
try server.sendAsync(ctx, res);
// TODO: at this point do we need async the following actions to be async?