Commit 338a5e3c authored by Web Admin's avatar Web Admin
Browse files

merged from branch-ensembl-32

parent e472227a
......@@ -730,6 +730,7 @@ sub set_disconnect_when_inactive{
sub disconnect_all {
foreach my $dba ( @{get_all_DBAdaptors()||[]} ){
my $dbc = $dba->dbc;
next unless $dbc;
#disconnect if connected
$dbc->disconnect_if_idle() if $dbc->connected();
}
......
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