/// <summary> /// Initializes and resets the last selected item. /// </summary> internal static void Init() { Cleanup(); Instance = new VitalsPanelWrapper(); }
/// <summary> /// Called at shutdown to avoid leaking references. /// </summary> internal static void Cleanup() { Instance?.Dispose(); Instance = null; }