tls: delete useless removeListener call

onclose was never attached to 'end' so this call to remove this listener
is useless.  Delete it.
pull/24504/head
Brandon Philips 2012-10-30 07:42:44 -07:00 committed by Ben Noordhuis
parent a93424da4a
commit 19b87bbda0
1 changed files with 0 additions and 1 deletions

View File

@ -1373,7 +1373,6 @@ function pipe(pair, socket) {
function onclose() {
socket.removeListener('error', onerror);
socket.removeListener('end', onclose);
socket.removeListener('timeout', ontimeout);
}