mirror of
https://github.com/SatDump/SatDump
synced 2026-08-13 17:47:30 -04:00
Properly delete processing handler on error
This commit is contained in:
parent
3bd1d25887
commit
732576b190
2 changed files with 6 additions and 4 deletions
|
|
@ -69,7 +69,7 @@ namespace satdump
|
|||
catch (std::exception &e)
|
||||
{
|
||||
logger->error("Fatal error running pipeline : " + std::string(e.what()));
|
||||
return;
|
||||
goto exit_handler;
|
||||
}
|
||||
|
||||
logger->info("Done! Goodbye");
|
||||
|
|
@ -91,9 +91,10 @@ namespace satdump
|
|||
}
|
||||
}
|
||||
|
||||
pipeline_name = "PROCESSING_DONE"; // TODOREWORK MASSIVE HACK!
|
||||
|
||||
eventBus->fire_event<SetIsDoneProcessingEvent>({});
|
||||
|
||||
exit_handler:
|
||||
pipeline_name = "PROCESSING_DONE"; // TODOREWORK MASSIVE HACK!
|
||||
}
|
||||
|
||||
void OffProcessingHandler::drawMenu() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue