380 """ |
380 """ |
381 if self.qsock is None: |
381 if self.qsock is None: |
382 return |
382 return |
383 |
383 |
384 # do not want any slots called during shutdown |
384 # do not want any slots called during shutdown |
385 self.disconnect(self.qsock, SIGNAL('disconnected()'), |
385 self.qsock.disconnected.disconnect(self.debugServer.startClient) |
386 self.debugServer.startClient) |
|
387 self.qsock.readyRead[()].disconnect(self.__parseClientLine) |
386 self.qsock.readyRead[()].disconnect(self.__parseClientLine) |
388 |
387 |
389 # close down socket, and shut down client as well. |
388 # close down socket, and shut down client as well. |
390 self.__sendCommand('{0}\n'.format(RequestShutdown)) |
389 self.__sendCommand('{0}\n'.format(RequestShutdown)) |
391 self.qsock.flush() |
390 self.qsock.flush() |