diff options
| author | jp <jp_bruyere@hotmail.com> | 2016-02-29 12:13:01 +0100 |
|---|---|---|
| committer | jp <jp_bruyere@hotmail.com> | 2016-02-29 12:13:01 +0100 |
| commit | 4c068badb35bfb197ea7c565edb58eb2f59dceb5 (patch) | |
| tree | db08dea8adc9f11b19d7f7e792dbde420a3654e2 /src | |
| parent | bfcc3583d5dfa32ac2b314751e5cf99578da455d (diff) | |
debug xmlloadingcount
Diffstat (limited to 'src')
| -rw-r--r-- | src/Interface.cs | 4 |
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; } |