commit | 05d9dd3432d9574b01f5bfd6ef1d1970aa00652a | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Tue Nov 13 10:05:14 2018 -0800 |
committer | Marissa Wall <marissaw@google.com> | Tue Nov 13 10:08:37 2018 -0800 |
tree | eb0b7a4332abb9ccfb7a6eb5e4c0be807d917b1d | |
parent | ba8f5edeee23b3c61923a000c449db7bd1055462 [diff] |
blast: fix crash TransactionCompletedThread When TransactionCompletedThread is destroyed, the std::thread is signaled to exit and then joined. If the thread was never started, the join call throws an exception. To prevent the exception, check if the thread is joinable first. Test: libsurfaceflinger_unittest Change-Id: I6372bf4fff4bc04383a9018dac01b36d1c046001