diff options
author | Eugene Ostroukhov <eostroukhov@chromium.org> | 2017-07-24 16:00:08 -0700 |
---|---|---|
committer | Eugene Ostroukhov <eostroukhov@chromium.org> | 2017-07-26 12:14:22 -0700 |
commit | bd65767afda836f9a5bbea7c63701d209fa81d03 (patch) | |
tree | f312973e34de8cd9f9aff4d0ed3f932155a1d1fe /src/inspector_io.cc | |
parent | 7849b528108d724faf4b0177d176aafa0b0c6890 (diff) | |
download | node-new-bd65767afda836f9a5bbea7c63701d209fa81d03.tar.gz |
inspector: send messages after the Node is done
Fixes: https://github.com/nodejs/node/issues/14432
PR-URL: https://github.com/nodejs/node/pull/14463
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/inspector_io.cc')
-rw-r--r-- | src/inspector_io.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inspector_io.cc b/src/inspector_io.cc index a7d69263ed..12a0d20720 100644 --- a/src/inspector_io.cc +++ b/src/inspector_io.cc @@ -429,8 +429,6 @@ void InspectorIo::MainThreadReqAsyncCb(uv_async_t* req) { void InspectorIo::Write(TransportAction action, int session_id, const StringView& inspector_message) { - if (state_ == State::kShutDown) - return; AppendMessage(&outgoing_message_queue_, action, session_id, StringBuffer::create(inspector_message)); int err = uv_async_send(&thread_req_); |