From 2d6dda170d84564f6ca5845ea934a886ac9bf746 Mon Sep 17 00:00:00 2001 From: thestig Date: Tue, 28 Jun 2016 07:39:09 -0700 Subject: 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 --- testing/js_embedder_test.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'testing') 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; -- cgit v1.2.3