chromecast.cpp
// disconnect() is called on error, so the background thread should already
// have exiteded... and be joinable...
disconnect() is called on error, so the background thread should already
have exiteded... and be joinable
disconnect () is called on error so the background thread should already have exiteded ... and be joinable
void ChromeCast::disconnect()
{
	m_tread.join();
	if (m_s != -1)
		close(m_s);
	m_s = -1;
	SSLDisposeContext(m_ssl);
	m_ssl = NULL;
	m_init = false;
}
void ChromeCast :: disconnect ( ) { m_tread . join ( ) ; if ( m_s != -1 ) close ( m_s ) ; m_s = -1 ; SSLDisposeContext ( m_ssl ) ; m_ssl = NULL ; m_init = false ; }
disconnect() is called on error, so the background thread should already
have exiteded... and be joinable...
disconnect () is called on error so the background thread should already have exiteded ... and be joinable ...