diff --git a/Audio/Chain/Node.m b/Audio/Chain/Node.m index 7da2c88e6..4849f4838 100644 --- a/Audio/Chain/Node.m +++ b/Audio/Chain/Node.m @@ -211,7 +211,9 @@ } - (void)launchThread { - [NSThread detachNewThreadSelector:@selector(threadEntry:) toTarget:self withObject:nil]; + NSThread *thread = [[NSThread alloc] initWithTarget:self selector:@selector(threadEntry:) object:nil]; + [thread setStackSize:1024 * 1024]; // Dammit, this new code makes the nodes overflow the stack size, so let's double the stack + [thread start]; } - (void)setPreviousNode:(id)p {