diff Implab/JSON/JSONXmlReader.cs @ 59:21611344d366

code cleanup
author cin
date Wed, 18 Jun 2014 03:54:02 +0400
parents 1710dcda34bb
children 10c7337d29e7
line wrap: on
line diff
--- a/Implab/JSON/JSONXmlReader.cs	Tue Jun 17 19:40:43 2014 +0400
+++ b/Implab/JSON/JSONXmlReader.cs	Wed Jun 18 03:54:02 2014 +0400
@@ -272,7 +272,15 @@
         }
 
         public override void Close() {
-            m_state = System.Xml.ReadState.EndOfFile ;
+            
         }
+
+        protected override void Dispose(bool disposing) {
+            if (disposing) {
+                m_parser.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
     }
 }