mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-19 23:03:08 +00:00
Release all references
This commit is contained in:
1 parent
f5960db27e
commit
ff69ac7a0e
9 files changed
+42
-9
No files matched your search
@@ -50,6 +50,11 @@ func (reader *TimeOutReader) SetTimeOut(value int) {
|
||||
}
|
||||
}
|
||||
|
||||
func (reader *TimeOutReader) Release() {
|
||||
reader.connection = nil
|
||||
reader.worker = nil
|
||||
}
|
||||
|
||||
type timedReaderWorker struct {
|
||||
timeout int
|
||||
connection net.Conn
|
||||
|
||||
Reference in new issue
Block a user