mercurial/commandserver.py
changeset 38291 c07424ec633c
parent 37995 6f9ac3cb0987
child 38768 afc4ad706f9c
equal deleted inserted replaced
38290:b5651ae53127 38291:c07424ec633c
   492                     h.newconnection()
   492                     h.newconnection()
   493                 finally:
   493                 finally:
   494                     conn.close()  # release handle in parent process
   494                     conn.close()  # release handle in parent process
   495             else:
   495             else:
   496                 try:
   496                 try:
       
   497                     selector.close()
       
   498                     self._sock.close()
   497                     self._runworker(conn)
   499                     self._runworker(conn)
   498                     conn.close()
   500                     conn.close()
   499                     os._exit(0)
   501                     os._exit(0)
   500                 except:  # never return, hence no re-raises
   502                 except:  # never return, hence no re-raises
   501                     try:
   503                     try: