forked from OSchip/llvm-project
Don’t pop the process input reader for a “stop” event if ShouldBroadcastEvent has restarted the process.
llvm-svn: 181859
This commit is contained in:
parent
c0dfddb302
commit
b78d73fe76
|
@ -3955,7 +3955,7 @@ Process::HandlePrivateEvent (EventSP &event_sp)
|
|||
Process::ProcessEventData::SetUpdateStateOnRemoval(event_sp.get());
|
||||
if (StateIsRunningState (new_state))
|
||||
PushProcessInputReader ();
|
||||
else
|
||||
else if (!Process::ProcessEventData::GetRestartedFromEvent(event_sp.get()))
|
||||
PopProcessInputReader ();
|
||||
|
||||
BroadcastEvent (event_sp);
|
||||
|
|
Loading…
Reference in New Issue