public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) { swigCMemOwn = false; ESLPINVOKE.delete_ESLconnection(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); GC.SuppressFinalize(this); } }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; ESLPINVOKE.delete_ESLconnection(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } }