public void UnregisterSource(object source)
{
#if LEGACY_CORENODEMANAGER
try
{
m_lock.Enter();
IEventSource eventSource = source as IEventSource;
if (eventSource != null)
{
m_eventSources.Remove(source);
}
}
finally
{
m_lock.Exit();
}
#endif
}
#endregion