public void NotifyValueChanged(CVar cvar) { try { Lock(); int elementsCount = list.Count; for (int i = 0; i < elementsCount; ++i) // do not update added items on that tick { try { list[i](cvar); } catch (Exception e) { CLog.error(e); } } } finally { Unlock(); } }
static void NullCVarChangedDelegate(CVar cvar) { }