From: jp Date: Mon, 29 Feb 2016 11:13:01 +0000 (+0100) Subject: debug xmlloadingcount X-Git-Tag: v0.4~97 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=4c068badb35bfb197ea7c565edb58eb2f59dceb5;p=jp%2Fcrow.git debug xmlloadingcount --- 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; }