mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ xapian writabledatabase::close() only for Windows
This commit is contained in:
@ -92,8 +92,7 @@ namespace kiwix {
|
||||
void XapianIndexer::indexingPostlude() {
|
||||
this->flush();
|
||||
this->writableDatabase.commit_transaction();
|
||||
#ifdef __APPLE__
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
this->writableDatabase.close();
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user