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:
baldurk
2020-10-29 12:03:27 +00:00
parent 19489feb4e
commit bb2a8a431f
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -350,10 +350,10 @@ void ReplayManager::DisconnectFromRemoteServer()
{
m_Remote->ShutdownConnection();
}
m_Remote = NULL;
}
m_RemoteHost = RemoteHost();
m_Remote = NULL;
}
void ReplayManager::ShutdownServer()
+2
View File
@@ -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.