Show
Ignore:
Timestamp:
12/29/07 03:41:53 (15 years ago)
Author:
ppalmers
Message:

shutdown fix for DICE and MOTU

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/dice/dice_avdevice.cpp

    r750 r785  
    7878DiceAvDevice::~DiceAvDevice() 
    7979{ 
    80     // FIXME: clean up m_receiveProcessors & xmit 
     80    for ( StreamProcessorVectorIterator it = m_receiveProcessors.begin(); 
     81          it != m_receiveProcessors.end(); 
     82          ++it ) 
     83    { 
     84        delete *it; 
     85    } 
     86    for ( StreamProcessorVectorIterator it = m_transmitProcessors.begin(); 
     87          it != m_transmitProcessors.end(); 
     88          ++it ) 
     89    { 
     90        delete *it; 
     91    } 
    8192 
    8293    if (m_notifier) { 
  • trunk/libffado/src/dice/dice_avdevice.h

    r750 r785  
    9494    // streaming stuff 
    9595    typedef std::vector< Streaming::StreamProcessor * > StreamProcessorVector; 
     96    typedef std::vector< Streaming::StreamProcessor * >::iterator StreamProcessorVectorIterator; 
    9697    StreamProcessorVector m_receiveProcessors; 
    9798    StreamProcessorVector m_transmitProcessors;