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

Fix for #14 - Buffer events always and check buffer always after socket polling #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

holgerk
Copy link

@holgerk holgerk commented Jun 22, 2019

No description provided.

@jakubkulhan
Copy link
Owner

Hi. Thank you for the PR! And sorry for such a delay :( I've looked through the code and it looks good, I've run current test suite and it passes. Could you add a regression test case, i.e. test that fails with the old version and gets fixed by this patch?

@holgerk
Copy link
Author

holgerk commented Jul 3, 2019

Hi, you can checkout 96a5d5b to see the failing test for the DevtoolsClient.

A problem that i see with the current solution, is that the buffer is not flushed.
I think we could flush the buffer when a command is executed from stack level 0.
Commands issued from callbacks (stack level > 0) should not flush the buffer, because of possible awaiters from lower levels.
What do you think?

@oscx
Copy link

oscx commented Mar 19, 2020

@jakubkulhan can the pull request be confirmed or any conflict from manual review pending?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants