Mercurial > pub > ImplabNet
comparison Implab/Formats/JSON/JSONScanner.cs @ 208:7d07503621fe v2
RunnableComponent.Dispose(bool,Exception) changed to standart Dispose(bool)
IRunnable is now disposable
Code cleanups, suppressed some CodeAnalysis warnings
author | cin |
---|---|
date | Sun, 13 Nov 2016 18:28:17 +0300 |
parents | 4f82e0f161c3 |
children |
comparison
equal
deleted
inserted
replaced
207:558f34b2fb50 | 208:7d07503621fe |
---|---|
100 throw new ParserException("Unexpected end of data"); | 100 throw new ParserException("Unexpected end of data"); |
101 } | 101 } |
102 | 102 |
103 protected override void Dispose(bool disposing) { | 103 protected override void Dispose(bool disposing) { |
104 if (disposing) | 104 if (disposing) |
105 Safe.Dispose(m_scanner); | 105 m_scanner.Dispose(); |
106 base.Dispose(disposing); | 106 base.Dispose(disposing); |
107 } | 107 } |
108 } | 108 } |
109 } | 109 } |