mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-18 01:48:10 +00:00
cdp: use an enum for SessionID
This commit is contained in:
@@ -348,7 +348,7 @@ pub const Ctx = struct {
|
||||
const s = try std.fmt.allocPrint(
|
||||
allocator,
|
||||
tpl,
|
||||
.{ msg_open, ctx.state.sessionID orelse cdp.ContextSessionID },
|
||||
.{ msg_open, @tagName(ctx.state.sessionID) },
|
||||
);
|
||||
|
||||
try ctx.send(s);
|
||||
|
||||
Reference in New Issue
Block a user