commit | 78f71fe71d9fcbaed1270b902c9f3a2bf14c37f3 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Jun 14 13:02:26 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Jun 14 15:35:37 2017 -0700 |
tree | c082f7eba0f6b938f24cb145bb6d9153cc5121a8 | |
parent | b209c12155da92f2756c016eda55636c1d8952c1 [diff] |
Use _exit for profile copy dexopt command Previously we used exit(0), but this called global destructors and could cause problems depending on the state when the forking happened. Using _exit avoids calling hte global destructors in the child process. Test: Delete packages.xml and flash to simulate first boot Bug: 62597429 Change-Id: I3a6dcd5f05ca85e1488df154ec283c2ec842e59f