internal static void SafeDispose(ref OciEnlistContext ociEnlistContext) { if (ociEnlistContext != null) { ociEnlistContext.Dispose(); } ociEnlistContext = null; }
internal static void SafeDispose(ref OciEnlistContext ociEnlistContext) { // Safely disposes of the handle (even if it is already null) and // then nulls it out. if (null != ociEnlistContext) { ociEnlistContext.Dispose(); } ociEnlistContext = null; }