This commit is contained in:
Pavel Minaev 2020-01-21 16:33:44 -08:00
parent 9bb539a2fc
commit 522c3743f0

View file

@ -273,8 +273,9 @@ class Session(object):
self.backchannel = None
# Work around https://bugs.python.org/issue37380
if self.debuggee is not None and self.debuggee.returncode is None:
self.debuggee.returncode = -1
for popen in self.debuggee, self.adapter:
if popen is not None and popen.returncode is None:
popen.returncode = -1
@property
def ignore_unobserved(self):