Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspector: Make sure all messages are dispatched #8264

Closed
wants to merge 1 commit into from
Closed

inspector: Make sure all messages are dispatched #8264

wants to merge 1 commit into from

Conversation

eugeneo
Copy link
Contributor

@eugeneo eugeneo commented Aug 24, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

This change only touches V8 inspector integration.

Description of change

This fixes a race condition when messages are coming while V8 is still
dispatching the previous batch.

CC: @ofrobots

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol labels Aug 24, 2016
@bnoordhuis
Copy link
Member

LGTM but s/Make/make/ in the commit log status line.

@ofrobots
Copy link
Contributor

This fixes a race condition when messages are coming while V8 is still
dispatching the previous batch.
@eugeneo
Copy link
Contributor Author

eugeneo commented Aug 30, 2016

I filed the commit log line.

@jasnell
Copy link
Member

jasnell commented Aug 30, 2016

CI is red, looks like a build bot failure, trying again: https://ci.nodejs.org/job/node-test-pull-request/3896/

@ofrobots
Copy link
Contributor

@ofrobots
Copy link
Contributor

Modulo the expected failure on ubuntu1204-clang341, the CI is green.

@ofrobots
Copy link
Contributor

Landed as 27fd2d7.

@ofrobots ofrobots closed this Aug 31, 2016
ofrobots pushed a commit that referenced this pull request Aug 31, 2016
This fixes a race condition when messages are coming while V8 is still
dispatching the previous batch.

PR-URL: #8264
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
@Fishrock123 Fishrock123 mentioned this pull request Sep 6, 2016
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Sep 8, 2016
This fixes a race condition when messages are coming while V8 is still
dispatching the previous batch.

PR-URL: nodejs#8264
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Fishrock123 pushed a commit that referenced this pull request Sep 9, 2016
This fixes a race condition when messages are coming while V8 is still
dispatching the previous batch.

PR-URL: #8264
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
@eugeneo eugeneo deleted the refresh branch September 16, 2016 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants