Squash warning in php-amqplib
This commit is contained in:
parent
d1b28fd564
commit
2f4f4b05b9
1 changed files with 4 additions and 2 deletions
|
@ -464,7 +464,9 @@ class AMQPConnection extends AbstractChannel
|
||||||
debug_msg("closing socket");
|
debug_msg("closing socket");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_resource($this->sock)) {
|
||||||
@fclose($this->sock);
|
@fclose($this->sock);
|
||||||
|
}
|
||||||
$this->sock = NULL;
|
$this->sock = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue