mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
21 lines
686 B
Diff
21 lines
686 B
Diff
diff --git fpdfsdk/fpdfview.cpp fpdfsdk/fpdfview.cpp
|
|
index 020ff8d..e4c5d9a 100644
|
|
--- fpdfsdk/fpdfview.cpp
|
|
+++ fpdfsdk/fpdfview.cpp
|
|
@@ -19,6 +19,7 @@
|
|
#include "fpdfsdk/include/fsdk_mgr.h"
|
|
#include "fpdfsdk/include/fsdk_rendercontext.h"
|
|
#include "fpdfsdk/javascript/ijs_runtime.h"
|
|
+#include "fpdfsdk/jsapi/include/fxjs_v8.h"
|
|
#include "public/fpdf_ext.h"
|
|
#include "public/fpdf_progressive.h"
|
|
#include "third_party/base/numerics/safe_conversions_impl.h"
|
|
@@ -267,6 +268,7 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
|
#endif // PDF_ENABLE_XFA
|
|
CPDF_ModuleMgr::Destroy();
|
|
CFX_GEModule::Destroy();
|
|
+ FXJS_Release();
|
|
|
|
delete g_pCodecModule;
|
|
g_pCodecModule = nullptr;
|