/// <summary> /// Dispose /// </summary> /// <param name="someObject">Some object</param> public static void Dispose(ref SoundBank someObject) { if (someObject != null) someObject.Dispose(); someObject = null; }