Skip to content

Commit e309dfc

Browse files
committed
Clear "Configuration" when releasing BindingContext
1 parent b875051 commit e309dfc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

source/Handlebars/Pools/BindingContext.Pool.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ internal struct BindingContextPolicy : IInternalObjectPoolPolicy<BindingContext>
4646

4747
public bool Return(BindingContext item)
4848
{
49+
item.Configuration = null;
50+
4951
item.Root = null;
5052
item.Value = null;
5153
item.ParentContext = null;

0 commit comments

Comments
 (0)