mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-29 18:27:44 +08:00
Hide the abnormal output when the worker exited (#5924)
This commit is contained in:
parent
64ee18be50
commit
de77989564
@ -6,6 +6,10 @@
|
||||
- [#5923](https://github.com/hyperf/hyperf/pull/5923) Fixed bug that `nacos grpc client` cannot be closed friendly when worker exit.
|
||||
- [#5922](https://github.com/hyperf/hyperf/pull/5922) Fixed bug that `ApplicationContext` cannot be found when using `grpc-client`.
|
||||
|
||||
## Optimized
|
||||
|
||||
- [#5924](https://github.com/hyperf/hyperf/pull/5924) Hide the abnormal output when the worker exited.
|
||||
|
||||
# v3.0.28 - 2023-07-08
|
||||
|
||||
## Fixed
|
||||
|
@ -201,8 +201,10 @@ class Client implements ClientInterface
|
||||
$this->channels[$response->getStreamId()]?->push($response);
|
||||
}
|
||||
}
|
||||
} catch (Throwable $e) {
|
||||
isset($this->client) && throw $e;
|
||||
} finally {
|
||||
isset($client) && $this->close();
|
||||
isset($this->client) && $this->close();
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user