mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-12 19:31:47 +00:00
fix another typo in make_pooled
This commit is contained in:
parent
7fe9234708
commit
0dfb74317f
@ -36,7 +36,7 @@ return function(class, limit)
|
|||||||
return instance
|
return instance
|
||||||
end
|
end
|
||||||
|
|
||||||
--release a object to the pool
|
--release an object back to the pool
|
||||||
function class:release()
|
function class:release()
|
||||||
if #_pool < _pool_limit then
|
if #_pool < _pool_limit then
|
||||||
table.insert(_pool, self)
|
table.insert(_pool, self)
|
||||||
|
Loading…
Reference in New Issue
Block a user