diff options
author | Steven Moreland | 2018-05-22 17:23:41 -0500 |
---|---|---|
committer | Steven Moreland | 2018-05-22 17:23:41 -0500 |
commit | 73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34 (patch) | |
tree | 6e38206498ea0e0617a3d6c03c8dfa124979c976 | |
parent | cf31bf85a93c680ddc99c67df6198685710112c8 (diff) | |
download | platform-hardware-interfaces-73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34.tar.gz platform-hardware-interfaces-73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34.tar.xz platform-hardware-interfaces-73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34.zip |
blank_screen: always exit with _exit().
Delay starting the threadpool until necessary,
and once started, always exit with _exit().
Bug: 77934844
Test: screen is blanked on reboot
Change-Id: I7715d889a6f78b9ce058fb3841ef7944116d8e82
-rw-r--r-- | light/utils/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/light/utils/main.cpp b/light/utils/main.cpp index d07e799a..724e0eef 100644 --- a/light/utils/main.cpp +++ b/light/utils/main.cpp | |||
@@ -55,5 +55,6 @@ int main() { | |||
55 | } | 55 | } |
56 | }); | 56 | }); |
57 | 57 | ||
58 | return 0; | 58 | // b/77934844: Avoid running static destructors. |
59 | _exit(1); | ||
59 | } | 60 | } |