Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for agent class file to determine if it's valid (#1907)
The previous approach of checking if the class is defined caused problems when the agent class had not yet been loaded by the process. Using Agent.valid_type? instead seems to be the approach that is taken elsewhere in the codebase, and it does not suffer from this problem.
- Loading branch information