Squash warning in php-amqplib

This commit is contained in:
Albert Santoni 2015-03-24 16:54:09 -04:00
parent d1b28fd564
commit 2f4f4b05b9

View file

@ -464,7 +464,9 @@ class AMQPConnection extends AbstractChannel
debug_msg("closing socket");
}
if (is_resource($this->sock)) {
@fclose($this->sock);
}
$this->sock = NULL;
}
}