mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-17 23:48:10 +08:00
Fix: pool gc test
This commit is contained in:
parent
96a8259c42
commit
10f9571c9e
@ -84,6 +84,7 @@ func TestPool_AutoGC(t *testing.T) {
|
||||
elm, _ := pool.Get()
|
||||
assert.Equal(t, 0, elm.(int))
|
||||
pool.Put(2)
|
||||
pool = nil
|
||||
|
||||
runtime.GC()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user