Parcourir la source

Update TcpConnection.php

walkor il y a 5 ans
Parent
commit
91d791446a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Connection/TcpConnection.php

+ 1 - 1
Connection/TcpConnection.php

@@ -944,7 +944,7 @@ class TcpConnection extends ConnectionInterface
 
         // Close socket.
         try {
-            \fclose($this->_socket);
+            @\fclose($this->_socket);
         } catch (\Exception $e) {} catch (\Error $e) {}
 
         $this->_status = self::STATUS_CLOSED;