Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task.Delete() will try to kill the task before delete it, but once the task is killed, the TaskExit event will also tigger another task.Delete() which would conflict with this test task.Delete(). To avoid this conflict, kill the task instead of Delete it, and let TaskExit trigger task.Delete(). Signed-off-by: lifupan <lifupan@gmail.com>
- Loading branch information