Skip to content

Commit 6b4e981

Browse files
Drop reference to most recently used database in the cleanup phase
1 parent a495d6b commit 6b4e981

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Auth/Source/SQL2.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ protected function login(
607607
}
608608

609609
// At the end, disconnect from all databases
610+
$db = null;
610611
foreach ($this->databases as $dbname => $dbConfig) {
611612
if ($dbConfig['_pdo'] !== null) {
612613
$this->databases[$dbname]['_pdo'] = null;

0 commit comments

Comments
 (0)