Exemple #1
0
 public void Dispose()
 {
     m_MapIndex?.Close();
     m_MapStream?.Close();
     DataStream?.Close();
     m_IndexReader?.Close();
 }
Exemple #2
0
        public void Dispose()
        {
            if (m_MapIndex != null)
            {
                m_MapIndex.Close();
            }
            else
            {
                MapStream?.Close();
            }

            DataStream?.Close();

            IndexReader?.Close();
        }
Exemple #3
0
        public void Dispose()
        {
            if (m_MapIndex != null)
            {
                m_MapIndex.Close();
            }
            else if (m_Map != null)
            {
                m_Map.Close();
            }

            if (m_Statics != null)
            {
                m_Statics.Close();
            }

            if (m_IndexReader != null)
            {
                m_IndexReader.Close();
            }
        }
Exemple #4
0
        public void Dispose()
        {
            if (m_MapIndex != null)
            {
                m_MapIndex.Close();
            }
            else if (MapStream != null)
            {
                MapStream.Close();
            }

            if (DataStream != null)
            {
                DataStream.Close();
            }

            if (IndexReader != null)
            {
                IndexReader.Close();
            }
        }