Minor correction

This commit is contained in:
Netkas 2023-07-27 17:51:54 -04:00
parent 0dd40dd600
commit da8ed340ef
No known key found for this signature in database
GPG key ID: 5DAF58535614062B

View file

@ -145,7 +145,10 @@
try try
{ {
$this->redis_client->close(); if($this->redis_client instanceof Redis)
{
$this->redis_client->close();
}
} }
catch(Exception $e) catch(Exception $e)
{ {