forked from OSchip/llvm-project
Fix error handling in CMIDriver::DoMainLoop after r215223 (MI)
llvm-svn: 232713
This commit is contained in:
parent
87b1302a84
commit
30a4ba1721
|
@ -529,18 +529,19 @@ CMIDriver::DoMainLoop(void)
|
|||
if (!StartWorkerThreads())
|
||||
return MIstatus::failure;
|
||||
|
||||
// App is not quitting currently
|
||||
m_bExitApp = false;
|
||||
|
||||
if (HaveExecutableFileNamePathOnCmdLine())
|
||||
{
|
||||
if (!LocalDebugSessionStartupExecuteCommands())
|
||||
{
|
||||
StopWorkerThreads();
|
||||
SetErrorDescription(MIRSRC(IDS_MI_INIT_ERR_LOCAL_DEBUG_SESSION));
|
||||
return MIstatus::failure;
|
||||
}
|
||||
}
|
||||
|
||||
// App is not quitting currently
|
||||
m_bExitApp = false;
|
||||
|
||||
// While the app is active
|
||||
while (!m_bExitApp)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue