!237 lwip crash问题增加维测log

Merge pull request !237 from 刘建东/OpenHarmony_1.0.1_release
This commit is contained in:
openharmony_ci 2021-05-13 09:33:15 +08:00 committed by Gitee
commit c059be5ec8
1 changed files with 2 additions and 0 deletions

View File

@ -1570,6 +1570,8 @@ int socks_close(int sockfd)
SYS_ARCH_UNPROTECT(lev);
done_socket(sock);
return lwip_close(sockfd);
} else {
PRINTK("no close socket s_refcount = %d\n", sock->s_refcount);
}
sock->s_refcount--;