internal static void SafeDispose(ref OciEnlistContext ociEnlistContext)
 {
     if (ociEnlistContext != null)
     {
         ociEnlistContext.Dispose();
     }
     ociEnlistContext = null;
 }
Example #2
0
 internal static void SafeDispose(ref OciEnlistContext ociEnlistContext)
 {
     if (ociEnlistContext != null)
     {
         ociEnlistContext.Dispose();
     }
     ociEnlistContext = null;
 }
Example #3
0
        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;
        }