1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-07 06:46:59 -05:00

remove debug log

This commit is contained in:
Yoshiya Hinosawa 2024-11-19 21:00:51 +09:00
parent 4dcba1ec21
commit 98e1880357
No known key found for this signature in database
GPG key ID: 9017DB4559488785

View file

@ -297,16 +297,12 @@ export class LibuvStreamWrap extends HandleWrap {
}
override _onClose(): number {
// deno-lint-ignore no-console
console.log("LibuvStreamWrap.prototype._onClose");
let status = 0;
this.#reading = false;
try {
this[kStreamBaseField]?.close();
} catch (e) {
// deno-lint-ignore no-console
console.log(e);
} catch {
status = codeMap.get("ENOTCONN")!;
}