Skip to content

Commit

Permalink
inspector: fix inspector::Agent::HasConnectedSessions
Browse files Browse the repository at this point in the history
  • Loading branch information
helloshuangzi committed May 11, 2018
1 parent 5096e24 commit 7329088
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 7329088

Please sign in to comment.