Minor correction
This commit is contained in:
parent
0dd40dd600
commit
da8ed340ef
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue