Merge "Prevent unnecessary stack.push in Instance::releaseResources"

This commit is contained in:
Jenkins 2016-10-03 18:50:17 +00:00 committed by Gerrit Code Review
commit debbe7e034
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ Methods:
Body:
- $region: $.getRegion()
- $template: $region.stack.current()
- If: $template.get(resources) and $template.get(outputs)
- If: $template.get(resources) and $template.get(outputs) and not sys:GC.isDoomed($region)
Then:
- $region.stack.push()
- $.setAttr(instanceResources, [])