Commit eed86d21 authored by Christophe Coevoet's avatar Christophe Coevoet

Fixed closing a connection

The inner connection should be unreferenced, but the property should not be removed from the object
parent 93af9aab
...@@ -597,7 +597,7 @@ class Connection implements DriverConnection ...@@ -597,7 +597,7 @@ class Connection implements DriverConnection
*/ */
public function close() public function close()
{ {
unset($this->_conn); $this->_conn = null;
$this->_isConnected = false; $this->_isConnected = false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment