mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-26 07:34:35 +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
|
||||
end
|
||||
|
||||
--release a object to the pool
|
||||
--release an object back to the pool
|
||||
function class:release()
|
||||
if #_pool < _pool_limit then
|
||||
table.insert(_pool, self)
|
||||
|
Loading…
Reference in New Issue
Block a user