mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
refs #846, core: shutdown when failure and assert for missing facade
This commit is contained in:
committed by
Mathew Sutcliffe
parent
235673123d
commit
ec3fc93a19
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user