Disconnect the database handle cleanly on exit.
[ccbs] / html / show-tournament.pl
index fe40817..999ea10 100755 (executable)
@@ -47,3 +47,4 @@ for my $score (@$scores) {
 
 ccbs::print_header();
 ccbs::process_template('show-tournament.tmpl', 'Turnering', { tournament => $tournament, rounds => \@rounds });
+$dbh->disconnect;