Not needed...I think.

This commit is contained in:
Steve Checkoway
2008-10-05 09:29:30 +00:00
parent a060bd33cb
commit 46fbd1dce6
@@ -16,7 +16,6 @@ HIDDevice::~HIDDevice()
{
CALL( m_Queue, stop );
runLoopSource = CALL( m_Queue, getAsyncEventSource );
mach_port_deallocate( mach_task_self(), CALL(m_Queue, getAsyncPort) );
CFRunLoopSourceInvalidate( runLoopSource );
CFRelease( runLoopSource );
}
@@ -173,7 +172,6 @@ void HIDDevice::StartQueue( CFRunLoopRef loopRef, IOHIDCallbackFunction callback
if( ret != kIOReturnSuccess )
{
mach_port_deallocate( mach_task_self(), CALL(m_Queue, getAsyncPort) );
CFRunLoopSourceInvalidate( runLoopSource );
CFRelease( runLoopSource );