refs #846, core: shutdown when failure and assert for missing facade

This commit is contained in:
Klaus Basan
2016-12-29 01:34:22 +01:00
committed by Mathew Sutcliffe
parent 235673123d
commit ec3fc93a19
2 changed files with 7 additions and 2 deletions

View File

@@ -29,7 +29,11 @@ int main(int argc, char *argv[])
Q_UNUSED(qa);
BlackCore::CApplication a;
a.addVatlibOptions();
a.start();
if (!a.start())
{
a.gracefulShutdown();
return EXIT_FAILURE;
}
return CBlackCoreTestMain::unitMain(argc, argv);
}