Merge branch 'master' into google
[mdictionary] / trunk / src / base / backbone / backbone.cpp
index aeb3be7..d9eae98 100644 (file)
@@ -254,6 +254,7 @@ void Backbone::addDictionary(CommonDictInterface *dict, bool active) {
 
  void Backbone::removeDictionary(CommonDictInterface *dict) {
      _dicts.remove(dict);
+     dict->clean();
      delete dict;
      dictUpdated();