mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +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