NULL out connection handle after shutdown

This commit is contained in:
baldurk
2020-01-13 16:55:05 +00:00
parent b3d15996b2
commit e9182377e5
@@ -1316,7 +1316,10 @@ void LiveCapture::connectionThreadEntry()
}
if(m_Connection)
{
m_Connection->Shutdown();
m_Connection = NULL;
}
GUIInvoke::call(this, [this]() {
ui->connectionStatus->setText(tr("Closed"));