mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Don't add in zombie collection handler on android - it explodes badly
This commit is contained in:
@@ -43,9 +43,12 @@ char **GetCurrentEnvironment();
|
||||
int GetIdentPort(pid_t childPid);
|
||||
|
||||
Threading::CriticalSection zombieLock;
|
||||
struct sigaction old_action;
|
||||
std::set<pid_t> children;
|
||||
|
||||
#if DISABLED(RDOC_ANDROID)
|
||||
|
||||
struct sigaction old_action;
|
||||
|
||||
static void ZombieWaiter(int signum, siginfo_t *handler_info, void *handler_context)
|
||||
{
|
||||
// save errno
|
||||
@@ -106,6 +109,14 @@ static void SetupZombieCollectionHandler()
|
||||
sigaction(SIGCHLD, &new_action, &old_action);
|
||||
}
|
||||
|
||||
#else // ANDROID
|
||||
|
||||
static void SetupZombieCollectionHandler()
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
namespace FileIO
|
||||
{
|
||||
void ReleaseFDAfterFork();
|
||||
|
||||
Reference in New Issue
Block a user