比較提交
9 次程式碼提交
a3cfb7ade1
...
a415643923
作者 | SHA1 | 日期 | |
---|---|---|---|
a415643923 | |||
b8c7514142 | |||
35bcd35ec9 | |||
ba81551a2c | |||
d8a205fbe5 | |||
ed4228326e | |||
2bb26bc63c | |||
5272365e5a | |||
5c899af26f |
@ -21,18 +21,11 @@ void FileScanWorker::run()
|
||||
{
|
||||
sfr = saver.addFile(path);
|
||||
}
|
||||
catch(LooqsGeneralException &e)
|
||||
{
|
||||
Logger::error() << e.message << Qt::endl;
|
||||
sfr = PROCESSFAIL;
|
||||
}
|
||||
|
||||
catch(std::exception &e)
|
||||
{
|
||||
Logger::error() << e.what() << Qt::endl;
|
||||
Logger::error() << e.what();
|
||||
sfr = PROCESSFAIL; // well...
|
||||
}
|
||||
|
||||
emit result({path, sfr});
|
||||
if(stopToken->load(std::memory_order_relaxed)) // TODO: relaxed should suffice here, but recheck
|
||||
{
|
||||
|
載入中…
新增問題並參考
Block a user