Skip to content

Commit

Permalink
inspector: fix inspector::Agent::HasConnectedSessions
Browse files Browse the repository at this point in the history
PR-URL: #20614
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
helloshuangzi authored and addaleax committed May 14, 2018
1 parent e0b438a commit ccf69dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inspector_agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,8 @@ bool Agent::IsWaitingForConnect() {
}

bool Agent::HasConnectedSessions() {
if (client_ == nullptr)
return false;
return client_->hasConnectedSessions();
}

Expand Down

0 comments on commit ccf69dd

Please sign in to comment.