aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/Interface.cs
diff options
context:
space:
mode:
authorjp <jp_bruyere@hotmail.com>2016-02-29 12:13:01 +0100
committerjp <jp_bruyere@hotmail.com>2016-02-29 12:13:01 +0100
commit4c068badb35bfb197ea7c565edb58eb2f59dceb5 (patch)
treedb08dea8adc9f11b19d7f7e792dbde420a3654e2 /src/Interface.cs
parentbfcc3583d5dfa32ac2b314751e5cf99578da455d (diff)
debug xmlloadingcount
Diffstat (limited to 'src/Interface.cs')
-rw-r--r--src/Interface.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 527e2f28..6b2e82fe 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -125,10 +125,12 @@ namespace Crow
{
Interface.XmlLoaderCount ++;
CurrentGOMLPath = path;
+ GraphicObject tmp = null;
using (Stream stream = GetStreamFromPath (path)) {
- return Load(stream, GetTopContainerOfGOMLStream(stream), hostClass);
+ tmp = Load(stream, GetTopContainerOfGOMLStream(stream), hostClass);
}
Interface.XmlLoaderCount --;
+ return tmp;
}