Skip to content

Fixed demo bug involving worker processes #1510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

tomjhou
Copy link

@tomjhou tomjhou commented Jun 28, 2025

Description

Two of the demos don't run because they spawn worker processes that re-import the main code, throwing errors and/or creating an infinite regress of additional processes. I fixed it it by adding the following check before running main():

if __name__ == "__main__":
    main()

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Has your PR been tested?

Yes the fix has been tested. Thank you for your consideration.

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.

1 participant