Commit 391bdc88 authored by jackbravo's avatar jackbravo

set isConnected to false when the connection is closed

parent 0a50b95f
......@@ -1016,6 +1016,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
$this->clear();
$this->dbh = null;
$this->isConnected = false;
$this->getAttribute(Doctrine::ATTR_LISTENER)->postClose($event);
}
......
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