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:
Jim Ingham 2013-05-15 01:21:48 +00:00
parent c0dfddb302
commit b78d73fe76
1 changed files with 1 additions and 1 deletions

View File

@ -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);