Call `Close` of child executor in a way similiar `defer`
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
In the `Close` function of the executor, once somewhere there is panic. The `Close` of the child executor may not be called. So we need a way to ensure that `Close` of the child executor must be called no matter if there is a panic.
Contributor guide
Assessment
This issue has not been assessed yet.