logic: Fixed and improved indexing interruption (issue #634)
* Fixed indexing can be interrupted when dialog hidden * Clear intermediate storages when interrupting * Abort waiting for less queued storages when indexing interrupted * Don't index another file when indexing was already interrupted * Moved indexing interrupted progress dialog to TaskBuildIndex * Use MessageIndexingInterrupted instead of MessageInterruptTasks
This commit is contained in:
+3
-3
@@ -21,7 +21,7 @@
|
||||
#include "FileLogger.h"
|
||||
#include "logging.h"
|
||||
#include "LogManager.h"
|
||||
#include "MessageInterruptTasks.h"
|
||||
#include "MessageIndexingInterrupted.h"
|
||||
#include "MessageLoadProject.h"
|
||||
#include "MessageStatus.h"
|
||||
#include "ResourcePaths.h"
|
||||
@@ -37,8 +37,8 @@
|
||||
|
||||
void signalHandler(int signum)
|
||||
{
|
||||
std::cout << "interrupt running tasks" << std::endl;
|
||||
MessageInterruptTasks().dispatch();
|
||||
std::cout << "interrupt indexing" << std::endl;
|
||||
MessageIndexingInterrupted().dispatch();
|
||||
}
|
||||
|
||||
void setupLogging()
|
||||
|
||||
Reference in New Issue
Block a user