mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement close connection method to free shared memory pool
This commit is contained in:
parent
ed31a3b13f
commit
5b17cf6aca
3 changed files with 20 additions and 0 deletions
|
|
@ -218,4 +218,9 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
|
|||
|
||||
return null;
|
||||
}
|
||||
|
||||
public function close(): void
|
||||
{
|
||||
$this->_pool->reset(); // @TODO
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue