Fixed thread leak when next streams are reset.

CQTexperiment
vspader 2009-02-28 19:14:52 -08:00
parent 38743b7dbf
commit b5b5b45eda
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@
- (void)resetNextStreams
{
@synchronized (chainQueue) {
for (id anObject in chainQueue) {
[anObject setShouldContinue:NO];
}
[chainQueue removeAllObjects];
if (endOfInputReached) {