diff options
author | Tom Cherry <tomcherry@google.com> | 2020-06-22 08:28:45 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-06-23 11:37:49 -0700 |
commit | 1fdbdbe14805a2e18345385cc17ab5494794b344 (patch) | |
tree | 31104059c0a600f797f80a1257b6a6817e737de6 /libutils/ProcessCallStack_fuzz.cpp | |
parent | a2f97dbb0fbfb1e407893ba29ef44f33faabe23c (diff) |
logd: join() the SerializedLogBuffer deleter thread
Logd never deletes SerializedLogBuffer, so it seemed reasonable to
detach the deleter thread, however unit tests and fuzzers do delete
SerializedLogBuffer, so we must safely join the deleter thread in the
destructor.
This simplifies the deleter thread code and ensures that only one
deleter thread will be running at a time.
Test: fuzzing works
Change-Id: I69c7447109898a1bb7038a03337cadacb1213281
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions