summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-10-02 10:52:55 -0700
committerTom Cherry <tomcherry@google.com>2019-10-02 14:22:07 -0700
commit97ec4eecd44f04d6c6580846c1efe9acb75bb06b (patch)
treec9aaa91ebdddc791832dcfb039ec5290187efb5a /trusty/coverage/coverage_test.cpp
parent3d8fbfada6d7d2d190d6bdcf6b4fa0b947e769ad (diff)
liblog: don't set transports to nullptr when they close
The old code did not free the transports, just unlink their nodes from the linked list, so there was no race condition between close() and other threads writing to the logs. By settings these to nullptr, I introduced a race condition, but setting them to nullptr isn't necessary, so let's simply not do that. Test: liblog-unit-tests Change-Id: Iec0b680addd13b5d30bd91ccef5bdeab6bf797b0
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions