mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Ensure we reset any android capture settings on close
* If no capture is loaded after launching a program, the capture settings can still be present and cause problems with future launches of applications depending on the Android version.
This commit is contained in:
@@ -350,10 +350,10 @@ void ReplayManager::DisconnectFromRemoteServer()
|
||||
{
|
||||
m_Remote->ShutdownConnection();
|
||||
}
|
||||
m_Remote = NULL;
|
||||
}
|
||||
|
||||
m_RemoteHost = RemoteHost();
|
||||
m_Remote = NULL;
|
||||
}
|
||||
|
||||
void ReplayManager::ShutdownServer()
|
||||
|
||||
@@ -488,6 +488,8 @@ MainWindow::~MainWindow()
|
||||
m_NetManagerThread->thread()->quit();
|
||||
m_NetManagerThread->deleteLater();
|
||||
|
||||
m_Ctx.Replay().DisconnectFromRemoteServer();
|
||||
|
||||
// explicitly delete our children here, so that the MainWindow is still alive while they are
|
||||
// closing.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user