◐ Shell
clean mode source ↗

test: remove unref in http2 test · nodejs/node@0b0370f

Original file line numberDiff line numberDiff line change

@@ -281,12 +281,6 @@ common.crashOnUnhandledRejection();

281281

});

282282
283283

pipeline(rs, req, common.mustCall((err) => {

284-

// TODO: this is working around an http2 bug

285-

// where the client keeps the event loop going

286-

// (replacing the rs.destroy() with req.end()

287-

// exits it so seems to be a destroy bug there

288-

client.unref();

289-
290284

server.close();

291285

client.close();

292286

}));