summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorSteven Moreland2018-05-22 17:23:41 -0500
committerSteven Moreland2018-05-22 17:23:41 -0500
commit73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34 (patch)
tree6e38206498ea0e0617a3d6c03c8dfa124979c976 /light
parentcf31bf85a93c680ddc99c67df6198685710112c8 (diff)
downloadplatform-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
Diffstat (limited to 'light')
-rw-r--r--light/utils/main.cpp3
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}