mirror of https://github.com/lukechilds/node.git
Browse Source
When stream.flush() is called without a callback, an empty listener is being added. Since flush may be called multiple times to push SSE's down to the client, multiple noop listeners are being added. This in turn causes the memory leak detected message. PR-URL: https://github.com/nodejs/node/pull/3534 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>v4.x
Craig Cavalier
9 years ago
committed by
James M Snell
1 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue