2015-11-10 21:18:16 +01:00
|
|
|
diff --git fpdfsdk/src/fpdfview.cpp fpdfsdk/src/fpdfview.cpp
|
2015-12-09 17:10:16 +01:00
|
|
|
index fcb6731..0c92fe5 100644
|
2015-11-10 21:18:16 +01:00
|
|
|
--- fpdfsdk/src/fpdfview.cpp
|
|
|
|
+++ fpdfsdk/src/fpdfview.cpp
|
2015-12-09 17:10:16 +01:00
|
|
|
@@ -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(
|
2015-11-10 21:18:16 +01:00
|
|
|
DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
|
|
|
CPDF_ModuleMgr::Destroy();
|
|
|
|
CFX_GEModule::Destroy();
|
|
|
|
+ FXJS_Release();
|
|
|
|
|
|
|
|
delete g_pCodecModule;
|
|
|
|
g_pCodecModule = nullptr;
|