Skip to content

net: inline maybeDestroy()

maybeDestroy() is only called from the listener of the 'end' event. That event is only emitted after the socket is connected (after UV_EOF is read) and after socket.readable is set to false.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading