1
0
mirror of https://github.com/fumiama/orbyte.git synced 2026-06-07 19:40:51 +08:00

fix(all): impl. new apis to make sure safety

This commit is contained in:
源文雨
2025-02-26 14:50:39 +09:00
parent 190281785c
commit 72938b1e5f
8 changed files with 130 additions and 300 deletions

View File

@@ -77,8 +77,6 @@ func (pool *Pool[T]) put(item *Item[T]) {
item.cfg = nil
item.stat.setdestroyed(true)
item.ref = nil
item.refc = 0
if pool.noputbak {
return