瀏覽代碼

Update TcpConnection.php

walkor 5 年之前
父節點
當前提交
91d791446a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;