mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 02:24:03 +01:00
c6111d5947
- Improve ordering of CefLoadHandler callbacks. OnLoadingStateChange will be called before and after all calls to OnLoadStart and OnLoadEnd. OnLoadStart/OnLoadEnd calls will occur as matching pairs (see http://crbug.com/539952#c2). - Remove the |requesting_url| argument to CefGeolocationHandler:: OnCancelGeolocationPermission. Clients can use the |request_id| argument to track this information themselves. - Fix a crash when loading the PDF extension in multiple browsers with a custom CefRequestContext (issue #1757).
21 lines
689 B
Diff
21 lines
689 B
Diff
diff --git fpdfsdk/src/fpdfview.cpp fpdfsdk/src/fpdfview.cpp
|
|
index 97da89e..0484d93 100644
|
|
--- fpdfsdk/src/fpdfview.cpp
|
|
+++ fpdfsdk/src/fpdfview.cpp
|
|
@@ -6,6 +6,7 @@
|
|
|
|
#include "../../core/include/fxcodec/fx_codec.h"
|
|
#include "../../core/include/fxcrt/fx_safe_types.h"
|
|
+#include "../../fpdfsdk/include/jsapi/fxjs_v8.h"
|
|
#include "../../public/fpdf_ext.h"
|
|
#include "../../public/fpdf_progressive.h"
|
|
#include "../../public/fpdfview.h"
|
|
@@ -105,6 +106,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;
|