Commit 4ef2a5a6 authored by Chris Dickinson's avatar Chris Dickinson Committed by Trevor Norris
Browse files

net,stream: add isPaused, don't read() when paused



net Sockets were calling read(0) to start reading, without
checking to see if they were paused first. This would result
in paused Socket objects keeping the event loop alive.

Fixes #8200

Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 5086d6ef
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment