Index: fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
diff --git a/fpdfsdk/src/formfiller/FFL_ComboBox.cpp b/fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
index 49d76bb265dd60fc7deb594d7bae2004c606ea1b..5e88a5d1334a4f0398b4bac6cf422cad50cb44e1 100644 |
--- a/fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
+++ b/fpdfsdk/src/formfiller/FFL_ComboBox.cpp |
@@ -21,6 +21,8 @@ CFFL_ComboBox::CFFL_ComboBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot) |
} |
CFFL_ComboBox::~CFFL_ComboBox() { |
+ for (const auto& it : m_Maps) |
+ it.second->InvalidateFocusHandler(this); |
delete m_pFontMap; |
} |