mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
lib: make ERM functions into wrappers returning undefined
PR-URL: https://github.com/nodejs/node/pull/58400 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
13dbbdc8a8
commit
cc1aacabb0
11 files changed
+34
-20
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ Server.prototype.close = function close() {
|
||||
};
|
||||
|
||||
Server.prototype[SymbolAsyncDispose] = async function() {
|
||||
return FunctionPrototypeCall(promisify(this.close), this);
|
||||
await FunctionPrototypeCall(promisify(this.close), this);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user