diff --git a/src/proxyPt/ntPptListener.erl b/src/proxyPt/ntPptListener.erl index cfb2ca7..e29a785 100644 --- a/src/proxyPt/ntPptListener.erl +++ b/src/proxyPt/ntPptListener.erl @@ -119,7 +119,6 @@ handleMsg(_Msg, _State) -> kpS. terminate(Reason, #state{lSock = LSock}) -> - %% 关闭这个监听LSock 监听进程收到tcp_close 然后终止acctptor进程 catch port_close(LSock), exit(Reason). diff --git a/src/ssl/ntSslListener.erl b/src/ssl/ntSslListener.erl index 23fe9ad..3f48d39 100644 --- a/src/ssl/ntSslListener.erl +++ b/src/ssl/ntSslListener.erl @@ -119,7 +119,6 @@ handleMsg(_Msg, _State) -> kpS. terminate(Reason, #state{lSock = LSock}) -> - %% 关闭这个监听LSock 监听进程收到tcp_close 然后终止acctptor进程 catch port_close(LSock), exit(Reason). diff --git a/src/tcp/ntTcpListener.erl b/src/tcp/ntTcpListener.erl index 6013da5..1d21f77 100644 --- a/src/tcp/ntTcpListener.erl +++ b/src/tcp/ntTcpListener.erl @@ -119,7 +119,6 @@ handleMsg(_Msg, _State) -> kpS. terminate(Reason, #state{lSock = LSock}) -> - %% 关闭这个监听LSock 监听进程收到tcp_close 然后终止acctptor进程 catch port_close(LSock), exit(Reason).