summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdfview.cpp')
-rw-r--r--fpdfsdk/fpdfview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index 38d704d27e..646fb46f72 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -291,6 +291,8 @@ DLLEXPORT void STDCALL FPDF_DestroyLibrary() {
delete g_pCodecModule;
g_pCodecModule = nullptr;
+
+ IJS_Runtime::Destroy();
}
#ifndef _WIN32