Commit 1b62e9f7 authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #652 from accdavid/t92919

Add close() method in MasterSlaveConnection.php
parents 11fd2c9a da96f42b
......@@ -280,6 +280,17 @@ class MasterSlaveConnection extends Connection
return parent::delete($tableName, $identifier, $types);
}
/**
* {@inheritDoc}
*/
public function close()
{
unset($this->connections['master']);
unset($this->connections['slave']);
parent::close();
}
/**
* {@inheritDoc}
*/
......
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