改名
This commit is contained in:
@@ -34,9 +34,7 @@ class ObjectPool extends \Snowflake\Abstracts\Pool
|
|||||||
return $config;
|
return $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
$className = hash('sha384', $config);
|
$object = $this->getFromChannel($config, [$config, $construct]);
|
||||||
|
|
||||||
$object = $this->getFromChannel($className, [$config, $construct]);
|
|
||||||
if (method_exists($object, 'clean')) {
|
if (method_exists($object, 'clean')) {
|
||||||
$object->clean();
|
$object->clean();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user