Skip to content

Commit

Permalink
fix. Redis释放连接时的内存泄漏
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoder committed Dec 30, 2020
1 parent 487403f commit b9a3b8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redis/src/Connection/ConnectionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function release(bool $final = false): void
$connection->release();
}
}
$this->unset($key);

if ($final) {
$finalKey = sprintf('%d', Co::tid());
Expand Down

0 comments on commit b9a3b8c

Please sign in to comment.