commit | 17d3fc2e6847a31116d4db9d13893e6c5a760221 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Jun 20 04:30:07 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Jun 20 04:30:07 2017 +0000 |
tree | 392967646058de8eb9c24d5c80c02b71ab9512d1 | |
parent | 50bad313e4bf310568f70195c3a751d79bddc16c [diff] | |
parent | e139434e3ab235fde6a5d17b9128e5665db32115 [diff] |
Merge "Hack around b/36066697." into oc-dev am: e139434e3a Change-Id: I422d2b73fc854047d1293919c25f0656df0842c9
diff --git a/cmds/screencap/screencap.cpp b/cmds/screencap/screencap.cpp index 607e6e0..71be632 100644 --- a/cmds/screencap/screencap.cpp +++ b/cmds/screencap/screencap.cpp
@@ -251,5 +251,7 @@ if (mapbase != MAP_FAILED) { munmap((void *)mapbase, mapsize); } - return 0; + + // b/36066697: Avoid running static destructors. + _exit(1); }