Commit 793ec2a
authored
fix(command): add coordinator cleanup in command execution finally block (#7545)
* fix(command): add coordinator cleanup in command execution finally block
- Add CoordinatorManager::until(Constants::WORKER_EXIT)->resume() in finally block
- Ensure proper cleanup of coordinators after command execution
- Wrap in try-catch to prevent exceptions from interrupting cleanup flow
* fix(composer): update hyperf/coordinator version requirement
* fix(command): conditionally resume coordinator on auto exit
* fix(listener): comment out deprecated resume logic in ResumeExitCoordinatorListener
* fix(changelog): add entry for coordinator resume in command execution finally block
---------
Co-authored-by: Deeka Wong <8337659+huangdijia@users.noreply.github.com>1 parent 79188b4 commit 793ec2a
2 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
198 | 207 | | |
199 | 208 | | |
200 | 209 | | |
| |||
0 commit comments