Explorar o código

Update TcpConnection.php

walkor %!s(int64=5) %!d(string=hai) anos
pai
achega
91d791446a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;