diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc index e22e8ee9592921..e0ee24a7f0c215 100644 --- a/src/inspector_agent.cc +++ b/src/inspector_agent.cc @@ -475,11 +475,9 @@ class NodeInspectorClient : public V8InspectorClient { bool prevent_shutdown) { events_dispatched_ = true; int session_id = next_session_id_++; - // TODO(addaleax): Revert back to using make_unique once we get issues - // with CI resolved (i.e. revert the patch that added this comment). - channels_[session_id].reset( - new ChannelImpl(env_, client_, getWorkerManager(), - std::move(delegate), prevent_shutdown)); + channels_[session_id] = + std::make_unique(env_, client_, getWorkerManager(), + std::move(delegate), prevent_shutdown); return session_id; }