There was an error while loading. Please reload this page.
1 parent b5a8c7f commit ee74c81Copy full SHA for ee74c81
test/parallel/test-net-persistent-ref-unref.js
@@ -29,7 +29,7 @@ TCPWrap.prototype.unref = function() {
29
30
echoServer.listen(0);
31
32
-echoServer.on('listening', () => {
+echoServer.on('listening', function() {
33
const sock = new net.Socket();
34
sock.unref();
35
sock.ref();
0 commit comments