Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent calling uv.run while already running.
As documented, uv_run is NOT re-entrant and this prevents this from happening by returning fail. Each lua state has its own uv loop, so the only way for this to happen is for uv.run to be called from a libuv callback.
- Loading branch information