Closed darkstarx closed 2 months ago
@darkstarx Thanks for reporting and providing a fix.
Your bug report has a very aggressive tone. As I hope that this wasn't your intention, I decided to mention it. My initial reaction wasn't to be thankful for your provided fix, but to be angry at your accusation ("Very HARD BUG").
It is also considered rude to tell somebody to do something. "And please use final
...".
Again, I don't think that this was your intention, but I know other programmers which would try to be as unhelpful as possible with such a bug report.
Hi @close2! This is a cultural aspect that does not concern the subject of an issue. I just gave some good recommendations to the author of the package, as shortly as i had time for it. The less bugs, the higher rating of the package and better reputation of the author. Thanks.
Hi! You should close the connection on failure.
The method
_send
is unsafe:But you don't catch exceptions in the method
send
:Use try-finally here:
And please use
final
instead ofvar
when you aren't going to change the value.