private static void _Init(bool onlySettings) { if (onlySettings) { _InitSettings(true); return; } _InitSettings(false); _InitLogging(); _InitMonitors(); _history = new JsonHistory(); }
public static void Stop() { if (!_runned) { return; } _runned = false; _history.Dispose(); _history = null; if (_listener != null) { try { _listener.Stop(); _listener = null; } catch { } } }