@ -156,6 +156,9 @@ namespace eu.railduction.netcore.dll.ManagedPool
}
// Todo [HIGHER]: Add function to put item back into the pool
// Check if item was created by pool, reject otherwise
private void createNewObjects(int size)
{
// create 'size'-amount of items, as long we dont hit our maximum