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:
Livia Medeiros authored and Michaël Zasso committed 2025-05-31 13:30:47 +02:00
1 parent 13dbbdc8a8
commit cc1aacabb0
11 files changed
+34 -20

No files matched your search

+1 -1
View File
@@ -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);
};
/**