Mercurial > pub > ImplabNet
comparison Implab/Components/PollingComponent.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 | 8200ab154c8a |
children |
comparison
equal
deleted
inserted
replaced
207:558f34b2fb50 | 208:7d07503621fe |
---|---|
142 } | 142 } |
143 | 143 |
144 return base.OnStop(); | 144 return base.OnStop(); |
145 } | 145 } |
146 | 146 |
147 protected override void Dispose(bool disposing, Exception lastError) { | 147 protected override void Dispose(bool disposing) { |
148 if (disposing) | 148 if (disposing) |
149 Safe.Dispose(m_timer); | 149 m_timer.Dispose(); |
150 | 150 |
151 base.Dispose(disposing, lastError); | 151 base.Dispose(disposing); |
152 } | 152 } |
153 } | 153 } |
154 } | 154 } |
155 | 155 |