diff options
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/tls_test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/js/tls_test.ts b/cli/js/tls_test.ts index 0fee79978..be3d54503 100644 --- a/cli/js/tls_test.ts +++ b/cli/js/tls_test.ts @@ -166,7 +166,10 @@ testPerm({ read: true, net: true }, async function dialAndListenTLS(): Promise< assert(conn.remoteAddr != null); assert(conn.localAddr != null); await conn.write(response); - conn.close(); + // TODO(bartlomieju): this might be a bug + setTimeout(() => { + conn.close(); + }, 0); } ); |