tools,doc: use V8::DisposePlatform

V8::ShutdownPlatform has been deprecated and does the same.

PR-URL: https://github.com/nodejs/node/pull/41610
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Michaël Zasso committed 2022-02-02 17:25:01 +01:00
1 parent 30c4e1d952
commit 86b77f7d0f
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -68,6 +68,6 @@ int main(int argc, char* argv[]) {
}
isolate->Dispose();
v8::V8::ShutdownPlatform();
v8::V8::DisposePlatform();
return 0;
}