Question about HALRunLoop thread
Question about HALRunLoop thread
- Subject: Question about HALRunLoop thread
- From: "Brant Sears" <email@hidden>
- Date: Fri, 7 Jul 2006 14:42:43 -0400
- Thread-topic: Question about HALRunLoop thread
Title: Question about HALRunLoop thread
Hi. I'm using Core Audio in a WebKit plugin. I am attempting to tear down all the Core Audio stuff when the instance of my plugin gets destroyed. The problem is that a thread remains which seems to be the "HALRunLoop" thread:
CAPThread::Entry
HALRunLoop::OwnThread
CFUnLoopRunSpecific
__CFRunLoopRun
mach_msg
mach_msg_trap
So, in my "tear down" code, I call AUGraphStop and then when my object (that owns/controls the audio stuff) is deallocated, I call the following:
OSStatus status;
status = AUGraphUninitialize(graphUnit);
assert(status == noErr);
status = AUGraphClose(graphUnit);
assert(status == noErr);
status = DisposeAUGraph(graphUnit);
assert(status == noErr);
Should I be expecting this thread to go away? If not, why not?
Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden