mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
21 lines
722 B
Diff
21 lines
722 B
Diff
diff --git fpdfsdk/src/fpdfview.cpp fpdfsdk/src/fpdfview.cpp
|
|
index fcb6731..0c92fe5 100644
|
|
--- fpdfsdk/src/fpdfview.cpp
|
|
+++ fpdfsdk/src/fpdfview.cpp
|
|
@@ -12,6 +12,7 @@
|
|
#include "fpdfsdk/include/fsdk_mgr.h"
|
|
#include "fpdfsdk/include/fsdk_rendercontext.h"
|
|
#include "fpdfsdk/include/javascript/IJavaScript.h"
|
|
+#include "fpdfsdk/include/jsapi/fxjs_v8.h"
|
|
#include "public/fpdf_ext.h"
|
|
#include "public/fpdf_progressive.h"
|
|
#include "third_party/base/nonstd_unique_ptr.h"
|
|
@@ -117,6 +118,7 @@ DLLEXPORT void STDCALL FPDF_InitLibraryWithConfig(
|
|
DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
|
CPDF_ModuleMgr::Destroy();
|
|
CFX_GEModule::Destroy();
|
|
+ FXJS_Release();
|
|
|
|
delete g_pCodecModule;
|
|
g_pCodecModule = nullptr;
|