05-18-2006 04:26 PM
05-18-2006 05:42 PM
OK, answered my own question.
If I created a trask, used it, then stopped and cleared it, then called the above code, the error would crah the program when I tried to stop the task that was used. If I never used the task, the code would execute with no crash.
Solution is to keep track of each task that is running and only stop it if is running. Oddly enough, it seems like you can clear the tasks regardless. Like in racing, it's the stopping that kills you!