File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11diff --git a/fpdfsdk/fpdf_view.cpp b/fpdfsdk/fpdf_view.cpp
2- index f747fe11c..602b6c02a 100644
2+ index c808459f4..0c6746b94 100644
33--- a/fpdfsdk/fpdf_view.cpp
44+++ b/fpdfsdk/fpdf_view.cpp
55@@ -61,6 +61,9 @@
@@ -45,10 +45,10 @@ index f747fe11c..602b6c02a 100644
4545+ g_isolate = v8::Isolate::New(params);
4646+ #endif // PDF_ENABLE_V8
4747+
48- FX_InitializeMemoryAllocators();
4948 CFX_Timer::InitializeGlobals();
5049
51- @@ -238,11 +263,10 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* config) {
50+ CFX_GEModule::RendererType renderer_type =
51+ @@ -237,11 +262,10 @@ FPDF_InitLibraryWithConfig(const FPDF_LIBRARY_CONFIG* config) {
5252 CPDFXFA_ModuleInit();
5353 #endif // PDF_ENABLE_XFA
5454
@@ -64,9 +64,9 @@ index f747fe11c..602b6c02a 100644
6464 g_bLibraryInitialized = true;
6565 }
6666
67- @@ -263,6 +287,19 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary() {
67+ @@ -261,6 +285,19 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_DestroyLibrary() {
68+ CFX_GEModule::Destroy();
6869 CFX_Timer::DestroyGlobals();
69- FX_DestroyMemoryAllocators();
7070
7171+ #ifdef PDF_ENABLE_XFA
7272+ cppgc::ShutdownProcess();
You can’t perform that action at this time.
0 commit comments