summaryrefslogtreecommitdiffstatshomepage
path: root/py/objset.c
diff options
context:
space:
mode:
authorKrzysztof Blazewicz <krzysztof.blazewicz@uxeon.com>2016-08-26 10:50:37 +0200
committerKrzysztof Blazewicz <krzysztof.blazewicz@uxeon.com>2016-08-26 10:57:32 +0200
commitfc73c9b4b28e903641888a81a76169a929407383 (patch)
tree0e36816378dac296351dc942bfa50b12516c57fa /py/objset.c
parent5ffe1d8dc07930818bbac6a88bec2aa5bd973402 (diff)
downloadmicropython-fc73c9b4b28e903641888a81a76169a929407383.tar.gz
micropython-fc73c9b4b28e903641888a81a76169a929407383.zip
stmhal/modusocket: set self->nic to MP_OBJ_NULL after socket close
This patch makes second and next calls to <socket>.close() a no-op. It prevents GC from closing the underlying resource after user already used <socket>.close() explicitly. fixes #2355
Diffstat (limited to 'py/objset.c')
0 files changed, 0 insertions, 0 deletions