mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 09:30:44 +00:00
Don't leak target control handle
This commit is contained in:
@@ -1315,6 +1315,9 @@ void LiveCapture::connectionThreadEntry()
|
||||
}
|
||||
}
|
||||
|
||||
if(m_Connection)
|
||||
m_Connection->Shutdown();
|
||||
|
||||
GUIInvoke::call(this, [this]() {
|
||||
ui->connectionStatus->setText(tr("Closed"));
|
||||
ui->connectionIcon->setPixmap(Pixmaps::disconnect(ui->connectionIcon));
|
||||
|
||||
Reference in New Issue
Block a user