2016-03-16 03:55:59 +01:00
|
|
|
diff --git fpdfsdk/fpdfview.cpp fpdfsdk/fpdfview.cpp
|
2016-07-06 21:34:09 +02:00
|
|
|
index 646fb46..42e8bdf 100644
|
2016-03-16 03:55:59 +01:00
|
|
|
--- fpdfsdk/fpdfview.cpp
|
|
|
|
+++ fpdfsdk/fpdfview.cpp
|
2016-06-21 00:59:23 +02:00
|
|
|
@@ -20,6 +20,7 @@
|
2015-12-09 17:10:16 +01:00
|
|
|
#include "fpdfsdk/include/fsdk_mgr.h"
|
|
|
|
#include "fpdfsdk/include/fsdk_rendercontext.h"
|
2016-04-27 22:38:52 +02:00
|
|
|
#include "fpdfsdk/javascript/ijs_runtime.h"
|
2016-05-25 01:35:43 +02:00
|
|
|
+#include "fpdfsdk/jsapi/include/fxjs_v8.h"
|
2015-12-09 17:10:16 +01:00
|
|
|
#include "public/fpdf_ext.h"
|
|
|
|
#include "public/fpdf_progressive.h"
|
2016-05-25 01:35:43 +02:00
|
|
|
#include "third_party/base/numerics/safe_conversions_impl.h"
|
2016-07-06 21:34:09 +02:00
|
|
|
@@ -288,6 +289,7 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
|
2016-02-02 22:32:44 +01:00
|
|
|
#endif // PDF_ENABLE_XFA
|
2015-11-10 21:18:16 +01:00
|
|
|
CPDF_ModuleMgr::Destroy();
|
|
|
|
CFX_GEModule::Destroy();
|
|
|
|
+ FXJS_Release();
|
|
|
|
|
|
|
|
delete g_pCodecModule;
|
|
|
|
g_pCodecModule = nullptr;
|