mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Fix offline hanging on fail. Fixes #289
This commit is contained in:
parent
728264ae76
commit
b5989c8948
1 changed files with 6 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ namespace satdump
|
|||
// Get pipeline
|
||||
std::optional<Pipeline> pipeline = getPipelineFromName(downlink_pipeline);
|
||||
|
||||
ui_call_list_mutex->lock();
|
||||
ui_call_list->clear();
|
||||
ui_call_list_mutex->unlock();
|
||||
|
||||
if (pipeline.has_value())
|
||||
{
|
||||
try
|
||||
|
|
@ -47,6 +51,7 @@ namespace satdump
|
|||
logger->error("Fatal error running pipeline : " + std::string(e.what()));
|
||||
error::set_error("Pipeline Error", e.what());
|
||||
is_processing = false;
|
||||
processing_mutex.unlock();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -65,6 +70,7 @@ namespace satdump
|
|||
viewer_app->loadDatasetInViewer(output_file + "/dataset.json");
|
||||
}
|
||||
}
|
||||
|
||||
processing_mutex.unlock();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue