]> O.S.I.I.S - jp/crow.git/commitdiff
debug xmlloadingcount
authorjp <jp_bruyere@hotmail.com>
Mon, 29 Feb 2016 11:13:01 +0000 (12:13 +0100)
committerjp <jp_bruyere@hotmail.com>
Mon, 29 Feb 2016 11:13:01 +0000 (12:13 +0100)
src/Interface.cs

index 527e2f2809926e4aa92f420835283ed98611d900..6b2e82fee71798eed731ca7696266469fe6c1736 100644 (file)
@@ -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;
                }