Fixed #6304: xdxf plugin deletes cache files when beign removed from app
[mdictionary] / trunk / src / base / backbone / backbone.cpp
index d7ca916..80ede84 100644 (file)
@@ -255,6 +255,7 @@ void Backbone::addDictionary(CommonDictInterface *dict, bool active) {
 
  void Backbone::removeDictionary(CommonDictInterface *dict) {
      _dicts.remove(dict);
+     dict->clean();
      delete dict;
      dictUpdated();