We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31441f4 commit 9a69d03Copy full SHA for 9a69d03
src/inspector_agent.cc
@@ -474,11 +474,9 @@ class NodeInspectorClient : public V8InspectorClient {
474
bool prevent_shutdown) {
475
events_dispatched_ = true;
476
int session_id = next_session_id_++;
477
- // TODO(addaleax): Revert back to using make_unique once we get issues
478
- // with CI resolved (i.e. revert the patch that added this comment).
479
- channels_[session_id].reset(
480
- new ChannelImpl(env_, client_, getWorkerManager(),
481
- std::move(delegate), prevent_shutdown));
+ channels_[session_id] =
+ std::make_unique<ChannelImpl>(env_, client_, getWorkerManager(),
+ std::move(delegate), prevent_shutdown);
482
return session_id;
483
}
484
0 commit comments