mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-13 04:24:03 -04:00
cleanup session history
This commit is contained in:
@@ -46,7 +46,7 @@ func TestRequestSerialization(t *testing.T) {
|
||||
buffer2.Append(buffer.Bytes())
|
||||
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
sessionHistory := NewSessionHistory(ctx)
|
||||
sessionHistory := NewSessionHistory()
|
||||
|
||||
userValidator := vmess.NewTimedUserValidator(ctx, protocol.DefaultIDHash)
|
||||
userValidator.Add(user)
|
||||
|
Reference in New Issue
Block a user