mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
remove unused code
This commit is contained in:
parent
4b725c61d1
commit
98b5b415f0
@ -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{}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user