public void End() { lock (this) { if (!this.isStarted) { return; } this.isStarted = false; } this.scanFFXIVWorker?.Abort(); this.attachFFXIVPluginWorker?.Stop(); this.attachFFXIVPluginWorker.Dispose(); this.attachFFXIVPluginWorker = null; // PC名記録をセーブする PCNameDictionary.Instance.Save(); PCNameDictionary.Free(); PCOrder.Free(); }
public static void Free() => instance = null;