diff options
author | Yash Ladha <yashladhapankajladha123@gmail.com> | 2021-03-30 17:48:11 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2021-04-30 23:29:47 +0300 |
commit | 0f5a76f8584b344b39173165d8cb18b023bdbdae (patch) | |
tree | 99c334395dbd48f73eb7017177b96b73ad78f13a /src/inspector_agent.cc | |
parent | 93f0b4d35bf72a1119b8a5bfea932b85faa1a4a6 (diff) |
inspector: remove redundant method for connection check
PR-URL: https://github.com/nodejs/node/pull/37986
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_agent.cc')
-rw-r--r-- | src/inspector_agent.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/inspector_agent.cc b/src/inspector_agent.cc index 2226c432839..4b30c177bea 100644 --- a/src/inspector_agent.cc +++ b/src/inspector_agent.cc @@ -898,13 +898,6 @@ void Agent::ContextCreated(Local<Context> context, const ContextInfo& info) { client_->contextCreated(context, info); } -bool Agent::WillWaitForConnect() { - if (debug_options_.wait_for_connect()) return true; - if (parent_handle_) - return parent_handle_->WaitForConnect(); - return false; -} - bool Agent::IsActive() { if (client_ == nullptr) return false; |