From 4c068badb35bfb197ea7c565edb58eb2f59dceb5 Mon Sep 17 00:00:00 2001 From: jp Date: Mon, 29 Feb 2016 12:13:01 +0100 Subject: [PATCH] debug xmlloadingcount --- src/Interface.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.47.3