diff --git a/python3/vimspector/stack_trace.py b/python3/vimspector/stack_trace.py index 6746b61..d2c2b70 100644 --- a/python3/vimspector/stack_trace.py +++ b/python3/vimspector/stack_trace.py @@ -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()