commit | 7a66f3b5238b575f9a7d624120f87cf98f9e0139 | [log] [tgz] |
---|---|---|
author | Bo Liu <boliu@chromium.org> | Mon Jun 17 15:12:47 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 17 15:12:47 2019 |
tree | e42475661cf1474e23a6da75e4b4910e93ceebd2 | |
parent | ccf4aac9a4247bf6dfa95a8e4deb69da40c3a841 [diff] |
android: Fix PostTask ConcurrentModificationException Calling initNativeTaskRunner might back into registerPreNativeTaskRunnerLocked which causes ConcurrentModificationException in WeakHashMap. Fix by setting sPreNativeTaskRunners to null first. onNativeSchedulerReady indicates native side is already ready, so should be safe to set sPreNativeTaskRunners to null. Bug: 974674 Change-Id: I77ea44c2b9d8a060c4b60e9c9171d14c91b71f7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660971 Reviewed-by: Alex Clarke <alexclarke@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#669664}
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 .