Quellcode durchsuchen

Update TcpConnection.php

walkor vor 5 Jahren
Ursprung
Commit
91d791446a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Connection/TcpConnection.php

+ 1 - 1
Connection/TcpConnection.php

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