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

remove use of KeepAlive

This commit is contained in:
Darien Raymond
2017-11-07 22:31:47 +01:00
parent 7cd2d62d06
commit cab5c10fc2
10 changed files with 4 additions and 34 deletions

View File

@@ -4,7 +4,6 @@ package outbound
import (
"context"
"runtime"
"time"
"v2ray.com/core/app"
@@ -162,7 +161,6 @@ func (v *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial
if err := signal.ErrorOrFinish2(ctx, requestDone, responseDone); err != nil {
return newError("connection ends").Base(err)
}
runtime.KeepAlive(timer)
return nil
}