In #843114: DatabaseConnection::__construct() and DatabaseConnection_mysql::__construct() leaks $this (Too many connections) β we added \Drupal\Core\Database\Connection::destroy() but this introduces an unmanaged state of destroyed to a connection object that atm is completely untracked. This caused distractions while fixing #3126563: Replace usage of assertAttributeEquals() that is deprecated β .
Use proper object destruction functions to result in reliable behaviour and simplify code.
Create change record
None
\Drupal\Core\Database\Connection::destroy() is deprecated.
None
@tdo
Fixed
9.1
It is used to alert the framework manager core committer(s) that an issue significantly impacts (or has the potential to impact) multiple subsystems or represents a significant change or addition in architecture or public APIs, and their signoff is needed (see the governance policy draft for more information). If an issue significantly impacts only one subsystem, use Needs subsystem maintainer review instead, and make sure the issue component is set to the correct subsystem.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.