summaryrefslogtreecommitdiffstats
path: root/src/ZYZZhuyinEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ZYZZhuyinEditor.cc')
-rw-r--r--src/ZYZZhuyinEditor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ZYZZhuyinEditor.cc b/src/ZYZZhuyinEditor.cc
index 1e92420..7b34639 100644
--- a/src/ZYZZhuyinEditor.cc
+++ b/src/ZYZZhuyinEditor.cc
@@ -38,6 +38,8 @@ ZhuyinEditor::ZhuyinEditor (ZhuyinProperties & props, Config & config)
ZhuyinEditor::~ZhuyinEditor (void)
{
+ reset ();
+
LibZhuyinBackEnd::instance ().freeZhuyinInstance (m_instance);
m_instance = NULL;
}