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

benchmark: Fix crash in net benchmarks #6407

Closed
wants to merge 1 commit into from
Closed

benchmark: Fix crash in net benchmarks #6407

wants to merge 1 commit into from

Commits on Apr 27, 2016

  1. benchmark: Fix crash in net benchmarks

    Net benchmarks create partial event emitters that do not have all of the
    required event emitter functions. They currently mock out `on`, `once`,
    and `emit` functions. This change mocks out `prependListener` as well to
    avoid crashing in `_stream_readable`.
    
    Fixes #6405
    Matt Loring committed Apr 27, 2016
    Copy the full SHA
    e050ef2 View commit details
    Browse the repository at this point in the history