Drain the requests already on the wire before close() and unbind() tear down

This commit is contained in:
2026-08-30 20:08:36 +02:00
parent c06eda4582
commit bebd74b42b
13 changed files with 248 additions and 85 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ describe('a live session against the reference implementation', () => {
const port = refServer.address()?.port ?? 0;
const { err, session } = await client({ port });
t.after(() => { session?.close(); });
t.after(() => session?.close());
assert.equal(err, undefined);
assert.ok(session);