NULL out connection handle after shutdown

This commit is contained in:
baldurk committed 2020-01-13 16:55:05 +00:00
1 parent b3d15996b2
commit e9182377e5
1 file changed
+3
@@ -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"));