Incorporated two little fixes (one slightly changed) provided by Tobias Rzepka.

Sat, 05 Dec 2015 13:20:36 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Dec 2015 13:20:36 +0100
changeset 4604
623f95f1531b
parent 4603
f72f17ae8192
child 4608
0d850eb60ea8

Incorporated two little fixes (one slightly changed) provided by Tobias Rzepka.

DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugClientBase.py	Sat Dec 05 13:13:13 2015 +0100
+++ b/DebugClients/Python/DebugClientBase.py	Sat Dec 05 13:20:36 2015 +0100
@@ -1321,6 +1321,7 @@
             self.running = None
             self.write('%s%d\n' % (DebugProtocol.ResponseExit, status))
             if exit:
+                self.writestream.close(1)
                 sys.exit(status)
         
         # reset coding
--- a/DebugClients/Python3/DebugClientBase.py	Sat Dec 05 13:13:13 2015 +0100
+++ b/DebugClients/Python3/DebugClientBase.py	Sat Dec 05 13:20:36 2015 +0100
@@ -1324,6 +1324,7 @@
             self.running = None
             self.write('{0}{1:d}\n'.format(DebugProtocol.ResponseExit, status))
             if exit:
+                self.writestream.close(True)
                 sys.exit(status)
         
         # reset coding

eric ide

mercurial