code: def dispatch_queue(self):
          
          self.queue_lock.acquire()
          q = list(self.queue)
          self.queue = []
          self.queue_lock.release()
          log.debug("Dispatching requests: {}".format(q))
          for req in q:
              req.response = self.dispatch_request(req)
          for req in q:
              req.signal()
docs: Dispatch any queued requests.
  
          Called by the debugger when it stops.