mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-12 17:51:02 +00:00
NULL out connection handle after shutdown
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user