mirror of
https://github.com/denoland/deno.git
synced 2025-01-07 06:46:59 -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 {
|
||||
console.log("LibuvStreamWrap.prototype._onClose");
|
||||
let status = 0;
|
||||
this.#reading = false;
|
||||
|
||||
try {
|
||||
this[kStreamBaseField]?.close();
|
||||
} catch {
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
status = codeMap.get("ENOTCONN")!;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue