mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: fts temp folder deletion
This commit is contained in:
parent
b99de3cd9d
commit
091080940f
|
@ -162,6 +162,8 @@ void makeFTSIndex( BtreeIndexing::BtreeDictionary * dict, QAtomicInt & isCancell
|
|||
|
||||
db.compact( dict->ftsIndexName() );
|
||||
|
||||
db.close();
|
||||
|
||||
Utils::Fs::removeDirectory( dict->ftsIndexName() + "_temp" );
|
||||
}
|
||||
catch ( Xapian::Error & e ) {
|
||||
|
|
Loading…
Reference in a new issue