CFileShoutcast::~CFileShoutcast() { // FIXME: without this check // the playback stops when CFile::Stat() // or CFile::Exists() is called // Has this object initialized the ripper? if (m_pShoutCastRipper==this) { rip_manager_stop(); m_pShoutCastRipper = NULL; m_ripFile.Reset(); m_ringbuf.Destroy(); } }