Github user ahgittin commented on the issue:

    https://github.com/apache/brooklyn-server/pull/480
  
    @aledsage Thanks for thorough comments.  I'll review this afternoon and 
revert with whether to merge or not.
    
    One high level comment:  `Task` instances _should_ be left running, even if 
immediate execution is requested, because someone else might subsequently ask 
for that value in a non-immediate context.  If we cancelled after immediate 
execution then the subsequent request would fail.  This isn't a **leak** but an 
implication of supporting `Task` evaluation (and for that reason I think we 
want to prefer `TaskFactory` evaluation).  I _think_ this addresses many of 
your comments; will look closer after lunch.


---
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.
---

Reply via email to