/// <summary> /// Destroys the singleton instance of this class. /// </summary> public static void DestroyInstance() { Instance?.Dispose(); Instance = null; }
/// <summary> /// Creates the singleton instance of this class. /// </summary> public static void CreateInstance() { Instance?.Dispose(); Instance = new BackgroundConduitUpdater(); }