logic: Fixed crashes and halting during indexing

* Fixed CPPSqliteException being thrown due to not properly destructed statement in addError
* Fixed indexer getting stuck after building caches because MessageFinishedParsing was interrupted
* removed Message::cancel() method and all related code

bug id = 105
This commit is contained in:
Eberhard Graether
2016-06-29 14:10:26 +02:00
parent ba3316008a
commit cba0cfad65
13 changed files with 78 additions and 83 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ void PersistentStorage::finishInjection()
{
MessageShowErrors msg(errorCount);
msg.setSendAsTask(false);
msg.dispatch();
msg.dispatchImmediately();
}
m_preInjectionErrorCount = -1;
}