cdp: fix some id inconsitency accross runtime messages

This commit is contained in:
Pierre Tachoire
2024-12-18 16:54:01 +01:00
parent bcaace1c91
commit 8e2cb36597
4 changed files with 13 additions and 10 deletions

View File

@@ -347,7 +347,7 @@ pub const Ctx = struct {
const s = try std.fmt.allocPrint(
allocator,
tpl,
.{ msg_open, cdp.ContextSessionID },
.{ msg_open, ctx.state.sessionID orelse cdp.ContextSessionID },
);
try ctx.send(s);