| 156 | } |
| 157 | |
| 158 | void Stream::Terminate (bool deleteFromDestination) // should be called from StreamingDestination::Stop only |
| 159 | { |
| 160 | m_Status = eStreamStatusTerminated; |
| 161 | m_AckSendTimer.cancel (); |
| 162 | m_ReceiveTimer.cancel (); |
| 163 | m_ResendTimer.cancel (); |
| 164 | m_SendTimer.cancel (); |
| 165 | //CleanUp (); /* Need to recheck - broke working on windows */ |
| 166 | if (deleteFromDestination) |
| 167 | m_LocalDestination.DeleteStream (shared_from_this ()); |
| 168 | } |
| 169 | |
| 170 | void Stream::CleanUp () |
| 171 | { |
no test coverage detected