优化Connection类close方法

This commit is contained in:
thinkphp
2017-01-24 16:44:50 +08:00
parent cc77fe99e3
commit 33849140da

View File

@@ -741,7 +741,10 @@ abstract class Connection
*/
public function close()
{
$this->linkID = null;
$this->linkID = null;
$this->linkWrite = null;
$this->linkRead = null;
$this->links = [];
}
/**