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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 05 Dec 2015 13:20:36 +0100
branch
6_1_x
changeset 4605
25851e211cfa
parent 4596
28bffa5017f2
child 4606
da303ad1474e

Incorporated two little fixes (one slightly changed) provided by Tobias Rzepka.
(grafted from 623f95f1531b536006dce83eaee8bc11dace562b)

DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugClientBase.py	Mon Nov 30 18:52:18 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	Mon Nov 30 18:52:18 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