commit | ebbd1d02f0d352476b06e82490e3c911fff1fc52 | [log] [tgz] |
---|---|---|
author | Bailey Berro <baileyberro@chromium.org> | Wed Aug 29 22:17:53 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 29 22:17:53 2018 |
tree | 78d9ba9353b9bc9cec305b202d4f952fdf758c8d | |
parent | 6c52d50406a62ba9f98c2e4a8d6a7f355906532c [diff] |
Do not pass unretained pointer to replies This change fixes an issue when calling PostTaskWithTraitsAndReply with a reply that has an unretained pointer to the member class. Because of a race in tests, SmbService would be torn down and the reply would be run with a pointer to SmbService resulting in a crash. Bug: chromium:757625 Change-Id: Ide6b8dd4e05032c504152fafab88ec561d40e30a Reviewed-on: https://chromium-review.googlesource.com/1195845 Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org> Commit-Queue: Bailey Berro <baileyberro@chromium.org> Cr-Commit-Position: refs/heads/master@{#587325}
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 .