commit | 9fdded6cd43ea624cefb2c60dce348cde46bdbd6 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@chromium.org> | Thu May 23 17:50:29 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu May 23 17:50:29 2019 |
tree | 0759c1467aae3c6d6adba2c90d6f5eb6a87e2d9f | |
parent | d67c0a47bd4f9800875568e53128026f77c1f960 [diff] |
perfetto: Only return unbound writers to the registry Because we use StartupTraceWriterRegistries not only during startup, but also for background tracing sessions, it's possible that one trace writer is created during a former tracing session and later returned to the startup tracing registry of another session. This could result in the registry attempting to rebind an already bound writer, which causes a nullptr crash. Bug: 966307 Change-Id: I11a0ff43673b2fc35a5d48dcb89cd87d06e8ace1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1626866 Auto-Submit: Eric Seckler <eseckler@chromium.org> Commit-Queue: oysteine <oysteine@chromium.org> Reviewed-by: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#662716}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .