Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for behavior of self-restarting scripts
The behavior is non-trivial as it will keep running the old thread unti it yields. I briefly tested putting `thread.status = 4` at the start of _restartThread and all the old execution tests still passed, so let's just add a bit more coverage. This was nearly regressed by f548d1b.
- Loading branch information