[Enhancement] Socket Channel may be null if error or crash during client-side
connecting
#3191
Open
1 of 2 tasks
Labels
enhancement
New feature or request
Search before asking
Enhancement Request
Locating at: org/apache/eventmesh/client/tcp/common/TcpClient.java
Line: 118
the implementation of
close()
close()
would be calledfinally
block for resource safetytry()
socket will fail if the error or crash is on
bind()
,channel
reference will be NullDescribe the solution you'd like
Removing
channel.disconnect().sync();
, resources will be closed with the determination ofEventLoopGroup
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: