Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agents: fix ExitEvent condition handling
A couple of fixes here: - Both the `uv_mutex_t` and `uv_cond_t` should be initialized before defining the lambda. - Add a boolean variable to make sure we're not waiting forever in the case the lambda code is run before reaching the `uv_cond_wait()`. PR-URL: #222 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
- Loading branch information