diff options
| author | 2021-09-21 00:40:48 +0000 | |
|---|---|---|
| committer | 2021-09-21 00:40:48 +0000 | |
| commit | 5d4da609efeb8a8b76296d4b4afaaf76479e4cde (patch) | |
| tree | 0a30853d70039da70ad43ae6497f3f6229d8a4ab | |
| parent | 6ad06a090bb98fccc0f3f2456eb55ffcae06a3e1 (diff) | |
| parent | 988081f021c3f31b10ed5d4d123877244574bd0c (diff) | |
Merge "binder_rpc_session: wait longer to shutdown"
| -rw-r--r-- | libs/binder/tests/rpc_fuzzer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/tests/rpc_fuzzer/main.cpp b/libs/binder/tests/rpc_fuzzer/main.cpp index 47a99136b0..c848798b28 100644 --- a/libs/binder/tests/rpc_fuzzer/main.cpp +++ b/libs/binder/tests/rpc_fuzzer/main.cpp @@ -100,7 +100,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { if (hangupBeforeShutdown) { connections.clear(); - while (!server->listSessions().empty() && server->numUninitializedSessions()) { + while (!server->listSessions().empty() || server->numUninitializedSessions()) { // wait for all threads to finish processing existing information usleep(1); } |