FixUp: comment about why we apply thread state in consume_threads
This commit is contained in:
parent
42cdff043a
commit
0f0d684e92
1 changed files with 4 additions and 0 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue