1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-28 02:05:23 +00:00

remove unused code

This commit is contained in:
Darien Raymond 2017-04-28 22:42:43 +02:00
parent 4b725c61d1
commit 98b5b415f0
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -52,11 +52,3 @@ func CancelAfterInactivity(ctx context.Context, timeout time.Duration) (context.
go timer.run()
return ctx, timer
}
type noOpActivityTimer struct{}
func (noOpActivityTimer) Update() {}
func BackgroundTimer() ActivityTimer {
return noOpActivityTimer{}
}