From b7a5314030f50ddfe136511fe024c0a1610531db Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 12 Jan 2024 18:46:34 +0200 Subject: [PATCH] remove __destruct method --- src/Xash3D/Master.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Xash3D/Master.php b/src/Xash3D/Master.php index 635b57c..d44b5a7 100644 --- a/src/Xash3D/Master.php +++ b/src/Xash3D/Master.php @@ -28,16 +28,6 @@ class Master } } - public function __destruct() - { - if ($this->_socket) - { - fclose( - $this->_socket - ); - } - } - public function getServersIPv6( int $limit = 100, string $region = "\xFF",