##// END OF EJS Templates
commandserver: fix reference before assignment error in pipeservice cleanup...
Yuya Nishihara -
r40624:9683dfb6 default
parent child Browse files
Show More
@@ -320,8 +320,8 b' class pipeservice(object):'
320 # redirect stdio to null device so that broken extensions or in-process
320 # redirect stdio to null device so that broken extensions or in-process
321 # hooks will never cause corruption of channel protocol.
321 # hooks will never cause corruption of channel protocol.
322 with procutil.protectedstdio(ui.fin, ui.fout) as (fin, fout):
322 with procutil.protectedstdio(ui.fin, ui.fout) as (fin, fout):
323 sv = server(ui, self.repo, fin, fout)
323 try:
324 try:
324 sv = server(ui, self.repo, fin, fout)
325 return sv.serve()
325 return sv.serve()
326 finally:
326 finally:
327 sv.cleanup()
327 sv.cleanup()
General Comments 0
You need to be logged in to leave comments. Login now