mirror of
https://github.com/denoland/deno.git
synced 2025-01-08 23:28:18 -05:00
add debug log
This commit is contained in:
parent
25a9c93745
commit
80ab756969
1 changed files with 3 additions and 1 deletions
|
@ -297,12 +297,14 @@ export class LibuvStreamWrap extends HandleWrap {
|
||||||
}
|
}
|
||||||
|
|
||||||
override _onClose(): number {
|
override _onClose(): number {
|
||||||
|
console.log("LibuvStreamWrap.prototype._onClose");
|
||||||
let status = 0;
|
let status = 0;
|
||||||
this.#reading = false;
|
this.#reading = false;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this[kStreamBaseField]?.close();
|
this[kStreamBaseField]?.close();
|
||||||
} catch {
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
status = codeMap.get("ENOTCONN")!;
|
status = codeMap.get("ENOTCONN")!;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue