/// <summary> /// Call when finished to shut down the Steam client. /// </summary> public override void Dispose() { if (Voice != null) { Voice.Dispose(); Voice = null; } if (ServerList != null) { ServerList.Dispose(); ServerList = null; } if (App != null) { App.Dispose(); App = null; } if (Stats != null) { Stats.Dispose(); Stats = null; } if (Achievements != null) { Achievements.Dispose(); Achievements = null; } if (MicroTransactions != null) { MicroTransactions.Dispose(); MicroTransactions = null; } if (User != null) { User.Dispose(); User = null; } if (RemoteStorage != null) { RemoteStorage.Dispose(); RemoteStorage = null; } if (Instance == this) { Instance = null; } base.Dispose(); }
/// <summary> /// Call when finished to shut down the Steam client. /// </summary> public override void Dispose() { if (Voice != null) { Voice.Dispose(); Voice = null; } if (ServerList != null) { ServerList.Dispose(); ServerList = null; } base.Dispose(); }