I think this whole if block is now redundant. By the time we get to this line, it already means that m_streams is empty.