eric6/Debugger/DebuggerInterfacePython.py

changeset 7429
6983c461550f
parent 7360
9190402e4505
child 7564
787684e6f2f3
child 7635
0cdead130a81
equal deleted inserted replaced
7427:362cd1b6f81a 7429:6983c461550f
517 517
518 def flush(self): 518 def flush(self):
519 """ 519 """
520 Public slot to flush the queue. 520 Public slot to flush the queue.
521 """ 521 """
522 # Send commands that were waiting for the connection. 522 if self.qsock is not None:
523 for cmd in self.queue: 523 # Send commands that were waiting for the connection.
524 self.__writeJsonCommandToSocket(cmd) 524 for cmd in self.queue:
525 525 self.__writeJsonCommandToSocket(cmd)
526 self.queue = [] 526
527 self.queue = []
527 528
528 def shutdown(self): 529 def shutdown(self):
529 """ 530 """
530 Public method to cleanly shut down. 531 Public method to cleanly shut down.
531 532

eric ide

mercurial