aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TemplatedControl.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-16 15:16:45 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-16 15:16:45 +0200
commitc9d9828221aaa571651ded4a01e21a10adcafb5e (patch)
tree704c5dafd6a01a0ac5e918a32e461a826fdce179 /src/GraphicObjects/TemplatedControl.cs
parent4684df8a9c356e824b103cefa804af09c1b6198b (diff)
* Interface.cs:
* GraphicObject.cs: * TemplatedControl.cs: * CompilerServices.cs: Free references queue for dynamic bindings prevent adding reference to spurious object creation during serializer init which cause alien ref impossible to clear * testPopper.goml: f
Diffstat (limited to 'src/GraphicObjects/TemplatedControl.cs')
-rw-r--r--src/GraphicObjects/TemplatedControl.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/GraphicObjects/TemplatedControl.cs b/src/GraphicObjects/TemplatedControl.cs
index 87bbeb09..0599c6e3 100644
--- a/src/GraphicObjects/TemplatedControl.cs
+++ b/src/GraphicObjects/TemplatedControl.cs
@@ -104,7 +104,7 @@ namespace go
{
if (template == null) {
DefaultTemplate dt = (DefaultTemplate)this.GetType ().GetCustomAttributes (typeof(DefaultTemplate), true).FirstOrDefault();
- this.SetChild (Interface.Load (dt.Path, this));
+ this.SetChild (Interface.Load (dt.Path, this,!Interface.DontResoveGOML));
}else
this.SetChild (template);
}
@@ -146,13 +146,14 @@ namespace go
xr.Read ();//go close tag
xr.Read ();//Template close tag
+ break;
} else {
xr.ReadInnerXml ();
}
}
}
} else
- loadTemplate (Interface.Load (template, this));
+ loadTemplate (Interface.Load (template, this, !Interface.DontResoveGOML));
//normal xml read