diff --git a/Coroutine/Http.php b/Coroutine/Http.php index 5cecf20..c68d55e 100644 --- a/Coroutine/Http.php +++ b/Coroutine/Http.php @@ -179,6 +179,8 @@ class Http extends Component call_user_func($close, $response->fd); } catch (\Throwable $throwable) { $this->logger()->error($throwable->getMessage()); + } finally { + $fdCollector->remove($response->fd); } }); } else {