commit | 53eaccb6988a4254bc8914b6f054df8c31dc7cd9 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Tue Nov 24 13:35:45 2020 -0500 |
committer | John Reck <jreck@google.com> | Tue Nov 24 13:35:45 2020 -0500 |
tree | 75eb220d72813f94131dade12c3ab05ee964019f | |
parent | be41f05db49ef724da8fbc6eefeaad310e1be3fc [diff] |
Fix race condition in releasedCallback test WebViewFunctor::~Handle() does a post() to renderthread for destruction. So the test needs to fence after the last sync to ensure the posted message is processed before proceeding. Fixes: 173156648 Test: hwuiunit --gtest_repeat=10000 --gtest_filter=RenderNode.releasedCallback --gtest_break_on_failure Change-Id: I71d21cde43db3f689788e1d0685b30f9e6fdec15