# HG changeset patch # User Mads Kiilerich # Date 2020-12-20 22:43:30 # Node ID bcd18ce5de66636c0f349ca1e4af92d2eb5126b4 # Parent aa3e860a1fe0b5bfb4c25c5635a9c32a91b5037e vcs: fix subprocessio process termination 659ecd26002c had a cut'n'paste error so it dropped process termination in the SubprocessIOChunker close method. diff --git a/kallithea/lib/vcs/subprocessio.py b/kallithea/lib/vcs/subprocessio.py --- a/kallithea/lib/vcs/subprocessio.py +++ b/kallithea/lib/vcs/subprocessio.py @@ -392,7 +392,7 @@ class SubprocessIOChunker(object): def close(self): try: - getattr(self.output, 'terminate', lambda: None)() + getattr(self.process, 'terminate', lambda: None)() except: pass try: