Skip to content
  • Mohamed Chibani's avatar
    ICE: flush timer heap when destroying ICE instance · 6d4630bf
    Mohamed Chibani authored
    When requesting destruction of ice session and stream
    transport instances from PJNATH, some operation will be
    done asynchronously through scheduled timers. If not
    properly handled, the timer heap will still contain
    timer entries when the timer heap and the IO queueu are
    destroyed.
    Now, the timer heap is given more time to flush the
    remaining timer entries before the IO queue and the
    timer heap are destructed.
    The timer heap may still contain timer entries if
    PJNATH does not process all the timers within the
    givent max time (currently set to 3s).
    
    Gitlab: #637
    
    Change-Id: I5ef2fe9d824e8b57191a51fac8f9e53e0e626fcd
    6d4630bf