/// <summary> /// Tidy before shutdown /// </summary> public virtual void Close() { try { EventManager.TriggerShutdown(); } catch (Exception e) { m_log.Error(string.Format("[SCENE]: SceneBase.cs: Close() - Failed with exception ", e)); } }
/// <summary> /// Tidy before shutdown /// </summary> public virtual void Close() { // Shut down all non shared modules. foreach (IRegionModule module in Modules.Values) { if (!module.IsSharedModule) { module.Close(); } } Modules.Clear(); try { EventManager.TriggerShutdown(); } catch (Exception e) { m_log.Error(string.Format("[SCENE]: SceneBase.cs: Close() - Failed with exception ", e)); } }