Skip to content

Commit 82bbe78

Browse files
committed
cdp: return correct result on Runtime
1 parent c761cd0 commit 82bbe78

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cdp/runtime.zig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ fn sendInspector(
129129
}
130130

131131
ctx.sendInspector(msg.json);
132-
return "";
132+
133+
if (msg.id == null) return "";
134+
135+
return result(alloc, msg.id.?, null, null, msg.sessionId);
133136
}
134137

135138
pub const AuxData = struct {

0 commit comments

Comments
 (0)