Skip to content

Commit

Permalink
gc_collect_cycles
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Apr 28, 2022
1 parent a6f7cda commit f28f9d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ public function connect()
}
if (empty($this->_queue)) {
$this->_queue = [];
gc_collect_cycles();
if (function_exists('gc_mem_caches')) {
gc_mem_caches();
}
Expand Down

0 comments on commit f28f9d7

Please sign in to comment.