357 """ |
357 """ |
358 if self.qsock is None: |
358 if self.qsock is None: |
359 return |
359 return |
360 |
360 |
361 # do not want any slots called during shutdown |
361 # do not want any slots called during shutdown |
362 self.disconnect(self.qsock, SIGNAL('disconnected()'), |
362 self.qsock.disconnected.disconnect(self.debugServer.startClient) |
363 self.debugServer.startClient) |
|
364 self.qsock.readyRead[()].disconnect(self.__parseClientLine) |
363 self.qsock.readyRead[()].disconnect(self.__parseClientLine) |
365 |
364 |
366 # close down socket, and shut down client as well. |
365 # close down socket, and shut down client as well. |
367 self.__sendCommand('{0}\n'.format(RequestShutdown)) |
366 self.__sendCommand('{0}\n'.format(RequestShutdown)) |
368 self.qsock.flush() |
367 self.qsock.flush() |