public void Disconnect(bool immediate) { Logger.Log($"Caps system for {Simulator} is {(immediate ? "aborting" : "disconnecting")}", Helpers.LogLevel.Info, Simulator.Client); _SeedRequest?.Cancel(); _EventQueueCap?.Stop(immediate); }
public void Disconnect(bool immediate) { Logger.Log(String.Format("Caps system for {0} is {1}", Simulator, (immediate ? "aborting" : "disconnecting")), Helpers.LogLevel.Info, Simulator.Client); if (_SeedRequest != null) _SeedRequest.Cancel(); if (_EventQueueCap != null) _EventQueueCap.Stop(immediate); }