FixUp: comment about why we apply thread state in consume_threads

This commit is contained in:
Ben Jackson 2020-11-20 23:27:18 +00:00
commit 0f0d684e92

View file

@ -205,6 +205,10 @@ class StackTraceView( object ):
self._threads.append( thread )
# If the threads were requested due to a stopped event, update any
# stopped thread state. Note we have to do this here (rather than in the
# stopped event handler) because we must apply this event to any new
# threads that are received here.
if stopEvent:
if allThreadsStopped:
thread.Paused( stopEvent )