diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-24 17:28:16 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-24 17:28:16 +0000 |
commit | 3581f2660f79d289ddbcc39e150a70c286b9d07b (patch) | |
tree | 1c7386dffada672b5744cf4f4a331c0914383a70 | |
parent | e360a1c8a389772718814d291978390e0b662805 (diff) | |
parent | b928447d6ecda0e4c4c2b23092a3af0c65547826 (diff) | |
download | bionic-nougat-mr2-pixel-release.tar.gz |
Merge cherrypicks of [2307556, 2307630, 2307631, 2307557, 2307632, 2307656, 2307743, 2307635, 2307799, 2307577, 2307800, 2307707, 2307803, 2307781, 2307773, 2307637, 2307804, 2307618, 2307734, 2307708, 2307805, 2307709, 2307806, 2307820, 2307746, 2307774, 2307839, 2307735, 2307782, 2307808, 2307840, 2307738, 2307783, 2307749, 2307775, 2307860, 2307899, 2307822, 2307823, 2307880, 2307778, 2307825, 2307882, 2307787, 2307919, 2307844, 2307905, 2307883, 2307829, 2307907, 2307832, 2307944, 2307945, 2307911] into nyc-mr2-pixel-monthly-releaseandroid-7.1.2_r29android-7.1.2_r24nougat-mr2-pixel-release
Change-Id: I5ee69cd2add2d4c7eec11ee5982ab10fc84a6e31
-rw-r--r-- | linker/linker.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index 9dc928eb4..a043b859a 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -2246,6 +2246,9 @@ static void soinfo_unload(soinfo* soinfos[], size_t count) { if (local_unload_list.contains(child)) { continue; } else if (child->is_linked() && child->get_local_group_root() != root) { + child->get_parents().remove_if([&] (const soinfo* parent) { + return parent == si; + }); external_unload_list.push_back(child); } else { unload_list.push_front(child); |