Skip to content

Conversation

@valentinpicard
Copy link

When i tried to stop threads with the Agent's stop method, the thread.join(10) is called.
However a "join" blocks the thread until it ends, and adding a timeout in parameters will allows to blocks until it ends OR until the timeout.
The different "While True" in Network.py will keep threads alive even when we "thread.stop.set()" and "thread.join(timeout)"
Be careful there is another "while True" in the agent, maybe you should change it

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