[Bug]: memory leaks in `conn.release`
panjf2000 opened this issue · comments
Actions I've taken before I'm here
- I've thoroughly read the documentations on this issue but still have no clue.
- I've searched the Github Issues but didn't find any duplicate issues that have been resolved.
- I've searched the internet for this issue but didn't find anything helpful.
What happened?
memory leaks of localAddr
and remoteAddr
:
Lines 86 to 96 in 6d01da7
This issue was introduced by #460
Major version of gnet
v2
Specific version of gnet
v2.3.0-rc.1
Operating system
Linux
OS version
any
Go version
any
Relevant log output
None
Code snippets (optional)
No response
How to Reproduce
Steps to reproduce the behavior:
- Go to '....'
- Click on '....'
- Do '....'
- See '....'
Does this issue reproduce with the latest release?
It can reproduce with the latest release