Merge pull request #164 from puremourning/threads-fail
Make sure we can still request threads if one threads request fails
This commit is contained in:
commit
dd101aedca
1 changed files with 5 additions and 1 deletions
|
|
@ -118,10 +118,14 @@ class StackTraceView( object ):
|
|||
|
||||
self._DrawThreads()
|
||||
|
||||
def failure_handler( reason, msg ):
|
||||
# Make sure we request them again if the request fails
|
||||
self._requesting_threads = False
|
||||
|
||||
self._requesting_threads = True
|
||||
self._connection.DoRequest( consume_threads, {
|
||||
'command': 'threads',
|
||||
} )
|
||||
}, failure_handler )
|
||||
|
||||
def _DrawThreads( self ):
|
||||
self._line_to_frame.clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue