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:
mergify[bot] 2020-05-12 18:40:56 +00:00 committed by GitHub
commit dd101aedca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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