diff options
Diffstat (limited to 'ext/node/polyfills/internal_binding/handle_wrap.ts')
-rw-r--r-- | ext/node/polyfills/internal_binding/handle_wrap.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/internal_binding/handle_wrap.ts b/ext/node/polyfills/internal_binding/handle_wrap.ts index ef8457338..1b3036a7e 100644 --- a/ext/node/polyfills/internal_binding/handle_wrap.ts +++ b/ext/node/polyfills/internal_binding/handle_wrap.ts @@ -39,7 +39,7 @@ export class HandleWrap extends AsyncWrap { close(cb: () => void = () => {}) { this._onClose(); - // We need to delay 'cb' at least 2 ticks to avoid "close" event happenning before "error" event in net.Socket + // We need to delay 'cb' at least 2 ticks to avoid "close" event happening before "error" event in net.Socket // See https://github.com/denoland/deno/pull/24656 for more information nextTick(nextTick, cb); } |