Add closed socket identification

This commit is contained in:
Lucian Copeland 2020-11-24 14:51:06 -05:00
parent 1031fe2992
commit 0c5e0954db

View File

@ -187,6 +187,7 @@ void common_hal_socketpool_socket_close(socketpool_socket_obj_t* self) {
if (self->num >= 0) {
lwip_shutdown(self->num, 0);
lwip_close(self->num);
self->num = -1;
}
}