Fixed a crasher when there is no log in Process::SetExitStatus (...).
llvm-svn: 124338
This commit is contained in:
parent
9c40302b3b
commit
385d603825
|
@ -566,6 +566,7 @@ Process::SetExitStatus (int status, const char *cstr)
|
|||
// We were already in the exited state
|
||||
if (m_private_state.GetValue() == eStateExited)
|
||||
{
|
||||
if (log)
|
||||
log->Printf("Process::SetExitStatus () ignoring exit status because state was already set to eStateExited");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue