Pop the for_stack register in an ensure

This commit is contained in:
Justin Li
2015-05-14 15:02:20 -04:00
parent 863e8968f0
commit 648a4888af
4 changed files with 31 additions and 20 deletions
+2 -1
View File
@@ -132,8 +132,9 @@ module Liquid
end
end
for_stack.pop
result
ensure
for_stack.pop
end
protected