Skip to content

fix: remove outdated stop_and_shutdown_loop from Worker docstring#673

Open
nightcityblade wants to merge 1 commit intofaust-streaming:masterfrom
nightcityblade:fix/issue-317
Open

fix: remove outdated stop_and_shutdown_loop from Worker docstring#673
nightcityblade wants to merge 1 commit intofaust-streaming:masterfrom
nightcityblade:fix/issue-317

Conversation

@nightcityblade
Copy link

Description

Fixes #317

The Worker class docstring referenced stop_and_shutdown_loop() in example 3, but this method no longer exists. The Worker registers signal handlers on start, so explicit cleanup in a finally block is unnecessary.

Removed the outdated try/finally block and the reference to stop_and_shutdown_loop() from the docstring example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Worker docstring incorrect, stop_and_shutdown_loop doesn't exist anymore

1 participant