We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a3d505 commit 51ae950Copy full SHA for 51ae950
1 file changed
src/DB_Command_SQLite.php
@@ -153,8 +153,6 @@ protected function sqlite_drop() {
153
if ( $wpdb instanceof \wpdb ) {
154
$wpdb->close();
155
}
156
- unset( $wpdb );
157
- gc_collect_cycles();
158
159
if ( ! @unlink( $db_path ) ) {
160
WP_CLI::error( "Could not delete database file: {$db_path}" );
@@ -179,8 +177,6 @@ protected function sqlite_reset() {
179
177
180
178
181
182
183
184
185
186
0 commit comments