private void OnExitEvent(ZyreEventExit exitEvent) { var temp = ExitEvent; // for thread safety temp?.Invoke(this, exitEvent); }