public virtual void Dispose() { lock (this) { if (swigCPtr != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; AkSoundEnginePINVOKE.CSharp_delete_AkMIDIPost(swigCPtr); } swigCPtr = IntPtr.Zero; } GC.SuppressFinalize(this); } }
public override void Dispose() { lock (this) { if (swigCPtr != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; AkSoundEnginePINVOKE.CSharp_delete_AkMIDIPost(swigCPtr); } swigCPtr = global::System.IntPtr.Zero; } global::System.GC.SuppressFinalize(this); base.Dispose(); } }