Release all references

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

No files matched your search

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