mirror of
https://github.com/YGGverse/hl-php.git
synced 2025-02-10 21:54:18 +00:00
add socket check
This commit is contained in:
parent
27fbf92c6b
commit
15035498b3
@ -42,9 +42,12 @@ class Master
|
|||||||
|
|
||||||
public function __destruct()
|
public function __destruct()
|
||||||
{
|
{
|
||||||
fclose(
|
if (true === is_resource($this->_socket))
|
||||||
$this->_socket
|
{
|
||||||
);
|
fclose(
|
||||||
|
$this->_socket
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getServersIPv6(
|
public function getServersIPv6(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user