File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ public actor ServiceGroup: Sendable, Service {
333333 " We did not create a graceful shutdown manager per service "
334334 )
335335
336- var taskGroupThatMustNotEscape = group
336+ var _unownedTaskGroupHandledCarefully = group
337337 group. addTask {
338338 // This is the task that listens to added services and starts them while the group is running
339339
@@ -356,7 +356,7 @@ public actor ServiceGroup: Sendable, Service {
356356 " Mismatch between services and graceful shutdown managers "
357357 )
358358
359- taskGroupThatMustNotEscape . addServiceTask (
359+ _unownedTaskGroupHandledCarefully . addServiceTask (
360360 serviceConfiguration,
361361 gracefulShutdownManager: gracefulShutdownManager,
362362 index: services. count - 1
You can’t perform that action at this time.
0 commit comments