protected override void DoSignalStop() { base.DoSignalStop(); this.DontLeak(() => m_Cache?.SignalStop()); this.DontLeak(() => m_Pile?.SignalStop()); allStores.OfType <Daemon>().ForEach(c => this.DontLeak(() => c.SignalStop())); }
protected override void DoSignalStop() { log(MessageType.Info, "DoSignalStop()", "Entering..."); try { if (m_Pile.ComponentDirector == this) { m_Pile.SignalStop(); } } catch (Exception error) { log(MessageType.CatastrophicError, "DoSignalStop()", "Exception: " + error.ToMessageWithType(), error); throw; } log(MessageType.Info, "DoSignalStop()", "...Exiting"); }