diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-20 22:20:37 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-05-20 22:20:37 +0300 |
commit | 0ab372585f57c80202a432bd757d52088de80850 (patch) | |
tree | d00e04f3962bd1dc3c1023af368396841c0a5b7c /py/mpprint.c | |
parent | 3a29db8e58d963747697025e847444430c9f8b9e (diff) | |
download | micropython-0ab372585f57c80202a432bd757d52088de80850.tar.gz micropython-0ab372585f57c80202a432bd757d52088de80850.zip |
extmod/moduos_dupterm: Dumpterm subsystem is responsible for closing stream.
Make dupterm subsystem close a term stream object when EOF or error occurs.
There's no other party than dupterm itself in a better position to do this,
and this is required to properly reclaim stream resources, especially if
multiple dupterm sessions may be established (e.g. as networking
connections).
Diffstat (limited to 'py/mpprint.c')
0 files changed, 0 insertions, 0 deletions