Clean up Android dangling g_child_thread pointer on shutdown.
In the GPU process, GpuMain can return, destroying the process and thread, before ChildProcessService.onDestroy (which calls ShutdownThread) runs, leaving g_child_thread invalid. Set it to null on ChildThreadImpl destructor and check for that. BUG=458868 Review URL: https://codereview.chromium.org/913203004 Cr-Commit-Position: refs/heads/master@{#316979}
Showing
Please register or sign in to comment