commit | 73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue May 22 15:23:41 2018 -0700 |
committer | Steven Moreland <smoreland@google.com> | Tue May 22 15:23:41 2018 -0700 |
tree | 6e38206498ea0e0617a3d6c03c8dfa124979c976 | |
parent | cf31bf85a93c680ddc99c67df6198685710112c8 [diff] |
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
diff --git a/light/utils/main.cpp b/light/utils/main.cpp index d07e799..724e0ee 100644 --- a/light/utils/main.cpp +++ b/light/utils/main.cpp
@@ -55,5 +55,6 @@ } }); - return 0; + // b/77934844: Avoid running static destructors. + _exit(1); }