diff --git a/doc/api/embedding.md b/doc/api/embedding.md index ec6af9180de..e6bcc5d63b8 100644 --- a/doc/api/embedding.md +++ b/doc/api/embedding.md @@ -61,7 +61,7 @@ int main(int argc, char** argv) { int ret = RunNodeInstance(platform.get(), args, exec_args); V8::Dispose(); - V8::ShutdownPlatform(); + V8::DisposePlatform(); return ret; } ``` diff --git a/test/cctest/node_test_fixture.h b/test/cctest/node_test_fixture.h index 86991d505a0..936085d4ae5 100644 --- a/test/cctest/node_test_fixture.h +++ b/test/cctest/node_test_fixture.h @@ -98,7 +98,7 @@ class NodeZeroIsolateTestFixture : public ::testing::Test { while (uv_loop_alive(¤t_loop)) { uv_run(¤t_loop, UV_RUN_ONCE); } - v8::V8::ShutdownPlatform(); + v8::V8::DisposePlatform(); CHECK_EQ(0, uv_loop_close(¤t_loop)); } diff --git a/test/embedding/embedtest.cc b/test/embedding/embedtest.cc index b0cf9d5f973..ee1e2afb935 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; } diff --git a/tools/code_cache/mkcodecache.cc b/tools/code_cache/mkcodecache.cc index babf8535dbb..5593e14fae3 100644 --- a/tools/code_cache/mkcodecache.cc +++ b/tools/code_cache/mkcodecache.cc @@ -68,6 +68,6 @@ int main(int argc, char* argv[]) { } isolate->Dispose(); - v8::V8::ShutdownPlatform(); + v8::V8::DisposePlatform(); return 0; }