private static void OnFlushEvent(FlushEventArgs args) { using (GlobalInitializerFacade.CoreLockScope) { _coreInitialized = false; } }