Squash warning in php-amqplib
This commit is contained in:
parent
d1b28fd564
commit
2f4f4b05b9
@ -463,8 +463,10 @@ class AMQPConnection extends AbstractChannel
|
||||
{
|
||||
debug_msg("closing socket");
|
||||
}
|
||||
|
||||
@fclose($this->sock);
|
||||
|
||||
if (is_resource($this->sock)) {
|
||||
@fclose($this->sock);
|
||||
}
|
||||
$this->sock = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user