1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-11 15:09:07 -04:00

rename CloseError() to Interrupt()

This commit is contained in:
Darien Raymond
2018-12-31 21:25:10 +01:00
parent d35c407419
commit 3de8389361
21 changed files with 66 additions and 69 deletions

View File

@@ -4,7 +4,6 @@ import (
"v2ray.com/core/common"
"v2ray.com/core/common/buf"
"v2ray.com/core/features/stats"
"v2ray.com/core/transport/pipe"
)
type SizeStatWriter struct {
@@ -21,6 +20,6 @@ func (w *SizeStatWriter) Close() error {
return common.Close(w.Writer)
}
func (w *SizeStatWriter) CloseError() {
pipe.CloseError(w.Writer)
func (w *SizeStatWriter) Interrupt() {
common.Interrupt(w.Writer)
}