Skip to content

Commit 7dce0c3

Browse files
committed
rename
1 parent b1084d7 commit 7dce0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ServiceLifecycle/ServiceGroup.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)