Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 66249bb

Browse filesBrowse files
gengjiawentargos
authored andcommitted
inspector: use const for contextGroupId
PR-URL: #29076 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
1 parent 2a84459 commit 66249bb
Copy full SHA for 66249bb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/inspector_agent.cc‎

Copy file name to clipboardExpand all lines: src/inspector_agent.cc
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.