Github user alasdairhodge commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/548#discussion_r99081663
--- Diff:
core/src/main/java/org/apache/brooklyn/core/mgmt/internal/LocalEntityManager.java
---
@@ -419,6 +422,7 @@ private void unmanage(final Entity e,
ManagementTransitionMode mode, boolean has
// migrating away or in-place active partial rebind:
((EntityInternal)e).getManagementSupport().onManagementStopping(info);
stopTasks(e);
+ pruneOrphanedLocations(e);
--- End diff --
Not sure whether this is the right thing to do in this situation, as we
don't actually remove the entity from the internal collections.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---