fetchai/agents-aea

Agent terminated too early: possible race condition

solarw opened this issue · 0 comments

Describe the bug
For MAM and some tests the moment of agent termination is critical.
If agent stopped before started completely - it can be an issue and agent is not terminated properly.
For the moment this issue in tests handled with proper checks agent started completely.

To Reproduce
It's a race condition and hard to reproduce .

Expected behavior
Agent can be terminated normally at any point of it's life cycle