tiesky.com.SharmIpcInternals.SharedMemory.Dispose C# (CSharp) Method

Dispose() public method

Disposing
public Dispose ( ) : void
return void
        public void Dispose()
        {
            try
            {
                if (mt != null)
                {
                    mt.ReleaseMutex();
                    mt.Close();
                    mt.Dispose();
                    mt = null;
                }
            }
            catch{
            }

            if (rwh != null)
            {
                rwh.Dispose();
                rwh = null;
            }
        }