Browse Source

add socket check

main
ghost 12 months ago
parent
commit
15035498b3
  1. 9
      src/Xash3D/Master.php

9
src/Xash3D/Master.php

@ -42,9 +42,12 @@ class Master @@ -42,9 +42,12 @@ class Master
public function __destruct()
{
fclose(
$this->_socket
);
if (true === is_resource($this->_socket))
{
fclose(
$this->_socket
);
}
}
public function getServersIPv6(

Loading…
Cancel
Save