Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
injust authored May 12, 2024
1 parent 9ec91f2 commit 68b2ee5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apscheduler/_schedulers/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ def __attrs_post_init__(self) -> None:
)

async def __aenter__(self) -> Self:
await self._ensure_services_initialized(exit_stack)
self._services_task_group = await exit_stack.enter_async_context(
await self._ensure_services_initialized(self._exit_stack)
self._services_task_group = await self._exit_stack.enter_async_context(
create_task_group()
)
exit_stack.callback(setattr, self, "_services_task_group", None)
self._exit_stack.callback(setattr, self, "_services_task_group", None)

return self

Expand Down

0 comments on commit 68b2ee5

Please sign in to comment.