public void Dispose() { ObjectRegistry?.Dispose(); ObjectRegistry = null; Actions?.Dispose(); Actions = null; Initiative?.Dispose(); Initiative = null; Hotkeys?.Dispose(); Hotkeys = null; BuffDebuff?.Dispose(); BuffDebuff = null; }