Commit 47642765 authored by Christophe Coevoet's avatar Christophe Coevoet Committed by Steve Müller

Fixed closing a connection

The inner connection should be unreferenced, but the property should not be removed from the object
parent 009c5b3a
...@@ -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