Skip to content

Commit 66249bb

Browse files
gengjiawentargos
authored andcommitted
inspector: use const for contextGroupId
PR-URL: #29076 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 2a84459 commit 66249bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inspector_agent.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel,
232232
bool prevent_shutdown)
233233
: delegate_(std::move(delegate)), prevent_shutdown_(prevent_shutdown),
234234
retaining_context_(false) {
235-
session_ = inspector->connect(1, this, StringView());
235+
session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView());
236236
node_dispatcher_ = std::make_unique<protocol::UberDispatcher>(this);
237237
tracing_agent_ =
238238
std::make_unique<protocol::TracingAgent>(env, main_thread_);

0 commit comments

Comments
 (0)