Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Ostroukhov <eostroukhov@chromium.org>2016-07-26 00:57:43 +0300
committerAli Ijaz Sheikh <ofrobots@google.com>2016-07-29 20:59:32 +0300
commitf789eb3106d1744b9319c847d1be37feb0a41c08 (patch)
treef11b8e5dc74ae88be040752701ac958075c6269b /src/inspector_agent.h
parent7d75338c0e564b2e741e3d51d12b0d59fcdfcc2e (diff)
inspector: Do not crash if the port is n/a
Node process will no longer terminate with an assertion if the inspector port is not available. PR-URL: https://github.com/nodejs/node/pull/7874 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_agent.h')
-rw-r--r--src/inspector_agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspector_agent.h b/src/inspector_agent.h
index 863f1c30c33..f2b2c1a187b 100644
--- a/src/inspector_agent.h
+++ b/src/inspector_agent.h
@@ -25,7 +25,7 @@ class Agent {
~Agent();
// Start the inspector agent thread
- void Start(v8::Platform* platform, int port, bool wait);
+ bool Start(v8::Platform* platform, int port, bool wait);
// Stop the inspector agent
void Stop();