Sfoglia il codice sorgente

Update TcpConnection.php

walkor 5 anni fa
parent
commit
91d791446a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;