mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-04 05:41:06 +00:00
Ensure initAdb() waits until adb is ready, rather than causing UI stalls
This commit is contained in:
@@ -341,7 +341,13 @@ void initAdb()
|
||||
"configure your SDK location");
|
||||
}
|
||||
|
||||
Process::LaunchProcess(adb.c_str(), workdir.c_str(), "start-server", true);
|
||||
Process::ProcessResult res = {};
|
||||
Process::LaunchProcess(adb.c_str(), workdir.c_str(), "start-server", true, &res);
|
||||
|
||||
if(res.strStdout.find("daemon"))
|
||||
{
|
||||
RDCLOG("Started adb server");
|
||||
}
|
||||
}
|
||||
void shutdownAdb()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user