Browse Source

add socket check

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

3
src/Xash3D/Master.php

@ -41,11 +41,14 @@ class Master
} }
public function __destruct() public function __destruct()
{
if (true === is_resource($this->_socket))
{ {
fclose( fclose(
$this->_socket $this->_socket
); );
} }
}
public function getServersIPv6( public function getServersIPv6(
int $limit = 100, int $limit = 100,

Loading…
Cancel
Save