Move stopindexing from exe to lib to avoid symbol errors (win)

This commit is contained in:
Jean-Francois Dockes
2019-03-13 09:26:31 +01:00
parent 57298d98be
commit abaf4ca797
3 changed files with 6 additions and 6 deletions
+4
View File
@@ -41,6 +41,10 @@ using std::list;
using std::string;
using std::vector;
// Global stop request flag. This is checked in a number of place in the
// indexing routines.
int stopindexing;
// This would more logically live in recollindex.cpp, but then librecoll would
// have an undefined symbol
ConfSimple idxreasons;
-4
View File
@@ -100,10 +100,6 @@ static void cleanup()
recoll_exitready();
}
// Global stop request flag. This is checked in a number of place in the
// indexing routines.
int stopindexing;
// Receive status updates from the ongoing indexing operation
// Also check for an interrupt request and return the info to caller which
// should subsequently orderly terminate what it is doing.