Fix a typo in make_pooled

This commit is contained in:
FlamingArr 2021-08-12 00:53:03 +05:30 committed by GitHub
parent ad8012c89b
commit 92406fa983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ return function(class, limit)
return instance return instance
end end
--release a vector to the pool --release a object 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)