summaryrefslogtreecommitdiff
path: root/test/embedding
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2022-01-20 11:12:51 +0100
committerMichaël Zasso <targos@protonmail.com>2022-02-02 17:25:01 +0100
commit86b77f7d0fb4ccefe000b67f9992d170aa048f82 (patch)
tree3245a11f09b69b22110c71f2ce03868ee4d357dd /test/embedding
parent30c4e1d952509b17f1dfe005a203034fa71f1cef (diff)
downloadnode-new-86b77f7d0fb4ccefe000b67f9992d170aa048f82.tar.gz
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>
Diffstat (limited to 'test/embedding')
-rw-r--r--test/embedding/embedtest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/embedding/embedtest.cc b/test/embedding/embedtest.cc
index b0cf9d5f97..ee1e2afb93 100644
--- a/test/embedding/embedtest.cc
+++ b/test/embedding/embedtest.cc
@@ -40,7 +40,7 @@ int main(int argc, char** argv) {
int ret = RunNodeInstance(platform.get(), args, exec_args);
V8::Dispose();
- V8::ShutdownPlatform();
+ V8::DisposePlatform();
return ret;
}