1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-04 08:15:21 -05:00

Release all references

This commit is contained in:
v2ray
2016-03-11 23:51:58 +01:00
parent f5960db27e
commit ff69ac7a0e
9 changed files with 42 additions and 9 deletions

View File

@@ -32,3 +32,7 @@ func (this *AdaptiveWriter) Write(buffer *alloc.Buffer) error {
}
return err
}
func (this *AdaptiveWriter) Release() {
this.writer = nil
}