~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/smart.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-16 06:48:35 UTC
  • mfrom: (2288.1.3 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20070216064835-76166d68f1750e11
(mbp,r=john,r=aaron) use os._exit from bzr script to quit faster and avoid thread kibble

Show diffs side-by-side

added added

removed removed

Lines of Context:
867
867
 
868
868
    def stop_background_thread(self):
869
869
        self._should_terminate = True
 
870
        # At one point we would wait to join the threads here, but it looks
 
871
        # like they don't actually exit.  So now we just leave them running
 
872
        # and expect to terminate the process. -- mbp 20070215
870
873
        # self._server_socket.close()
871
 
        # we used to join the thread, but it's not really necessary; it will
872
 
        # terminate in time
 
874
        ## sys.stderr.write("waiting for server thread to finish...")
873
875
        ## self._server_thread.join()
874
876
 
875
877