Change record status: 
Project: 
Introduced in branch: 
9.1.x
Introduced in version: 
9.1.0
Description: 

\Drupal\Core\Database\Connection::destroy() and its implementations in extending database driver Connection classes is deprecated and will not called by Drupal 10.

In case specific database connection cleanup functions calls are required when closing the database connection, custom and contrib drivers are required to move the code to the __destruct method of the driver's Connection class. It is important that database driver's __destruct implementations call the parent implementation if they want to have the corresponding PDO connection closed when they are closed.

Impacts: 
Module developers