mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Remove volatile from Atomic parameter declarations
* This was leaky from windows' InterlockedIncrement etc declarations, and is not necessary.
This commit is contained in:
@@ -1124,7 +1124,7 @@ ExecuteResult AndroidRemoteServer::ExecuteAndInject(const char *a, const char *w
|
||||
rdcstr intentArgs = c && c[0] ? c : "";
|
||||
|
||||
// we spin up a thread to Ping() every second, since starting a package can block for a long time.
|
||||
volatile int32_t done = 0;
|
||||
int32_t done = 0;
|
||||
Threading::ThreadHandle pingThread = Threading::CreateThread([&done, this]() {
|
||||
Threading::SetCurrentThreadName("Android Ping");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user