protected override void Dispose(bool disposing)
{
if (disposing)
{
// halt any outstanding timer.
if (m_registrationTimer != null)
{
Utils.SilentDispose(m_registrationTimer);
m_registrationTimer = null;
}
// close the watcher.
if (m_configurationWatcher != null)
{
Utils.SilentDispose(m_configurationWatcher);
m_configurationWatcher = null;
}
// close the server.
if (m_serverInternal != null)
{
Utils.SilentDispose(m_serverInternal);
m_serverInternal = null;
}
}
base.Dispose(disposing);
}
#endregion