This commit is contained in:
2022-09-23 18:55:46 +08:00
parent c190c749f4
commit c01dc5f41a
14 changed files with 239 additions and 331 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class ClientPool extends Component
* @return void
* @throws Exception
*/
public function onBeforeShutdown()
public function onBeforeShutdown(): void
{
foreach ($this->names as $name) {
$this->getPool()->clean($name);