| commit | f5b51caa68658f1b5983d8de206775be46fe166a | [log] [tgz] |
|---|---|---|
| author | Andrey Pronin <[email protected]> | Fri Aug 11 19:12:53 2017 |
| committer | chrome-bot <[email protected]> | Tue Aug 22 05:03:58 2017 |
| tree | 3a30a2ecc8c7db0f9786d8b0291bd55ceb7d77b4 | |
| parent | 5f435c4d6a837e18b83da0ee6852443eb7154a97 [diff] |
trunks: Stop background thread when exiting trunksd The background thread may access and holds references to BackgroundCommandTransceiver, ResourceManager and other objects, created by the main thread. Stop the background thread before these objects are destroyed when the daemon exits. BUG=chromium:754813 BUG=chromium:752811 TEST=reboot without trunksd coredump in /var/spool/crash Change-Id: I0ed0a2a6853114066a683ae6be977dcc977b4c34 Reviewed-on: https://chromium-review.googlesource.com/612265 Commit-Ready: Andrey Pronin <[email protected]> Tested-by: Andrey Pronin <[email protected]> Reviewed-by: Ben Chan <[email protected]>