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
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…
Cancel
Save