mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Merge pull request #1043 from xiaoyifang/fix/fts-temp-delete
fix: fts temp folder deletion
This commit is contained in:
commit
5984444270
|
@ -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