mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-29 15:13:28 +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
	 Pierre Tachoire
					Pierre Tachoire