diff options
author | thestig <thestig@chromium.org> | 2016-06-28 07:39:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-28 07:39:09 -0700 |
commit | 2d6dda170d84564f6ca5845ea934a886ac9bf746 (patch) | |
tree | f4d16014099db0e232799cc336439b5bd5f583f5 /testing/js_embedder_test.cpp | |
parent | b21c6d0083e18077aa09b8cb1e4bb867dab2949e (diff) | |
download | pdfium-2d6dda170d84564f6ca5845ea934a886ac9bf746.tar.xz |
Implement IJS_Runtime::Destroy().
And call it from FPDF_DestroyLibrary(). Otherwise further attempts to
FPDF_InitLibraryWithConfig() can hit fail an assertion in
IJS_Runtime::Initialize().
BUG=604587
Review-Url: https://codereview.chromium.org/2103443004
Diffstat (limited to 'testing/js_embedder_test.cpp')
-rw-r--r-- | testing/js_embedder_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testing/js_embedder_test.cpp b/testing/js_embedder_test.cpp index bdd1573a61..5927d89af5 100644 --- a/testing/js_embedder_test.cpp +++ b/testing/js_embedder_test.cpp @@ -28,7 +28,6 @@ void JSEmbedderTest::SetUp() { void JSEmbedderTest::TearDown() { FXJS_ReleaseRuntime(m_pIsolate, &m_pPersistentContext, &m_StaticObjects); m_pPersistentContext.Reset(); - FXJS_Release(); EmbedderTest::TearDown(); m_pIsolate->Dispose(); m_pIsolate = nullptr; |