diff options
Diffstat (limited to 'src/Interface.cs')
| -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; } |